curl --request POST \
--url https://api.cleartalk.ai/cleartalk/insert \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phoneNumber": "+19162496951"
}
'This endpoint inserts a phone number into the cleartalk system. If the phone number already exists, it will be updated; otherwise, it will be created.
curl --request POST \
--url https://api.cleartalk.ai/cleartalk/insert \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phoneNumber": "+19162496951"
}
'