curl --request POST \
--url https://api.cleartalk.ai/agency/twilio/add-phone-numbers-to-messaging-service \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phoneNumberSids": [
"<string>"
]
}
'{
"success": 123,
"failed": 123,
"results": [
{
"phone_number_sid": "<string>",
"status": "<string>",
"data": {
"sid": "<string>",
"phone_number": "<string>",
"capabilities": {},
"date_created": "<string>"
}
}
],
"errors": [
{
"phone_number_sid": "<string>",
"status": "<string>",
"error": "<string>"
}
],
"message": "<string>"
}curl --request POST \
--url https://api.cleartalk.ai/agency/twilio/add-phone-numbers-to-messaging-service \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phoneNumberSids": [
"<string>"
]
}
'{
"success": 123,
"failed": 123,
"results": [
{
"phone_number_sid": "<string>",
"status": "<string>",
"data": {
"sid": "<string>",
"phone_number": "<string>",
"capabilities": {},
"date_created": "<string>"
}
}
],
"errors": [
{
"phone_number_sid": "<string>",
"status": "<string>",
"error": "<string>"
}
],
"message": "<string>"
}API Key for authentication
Array of phone number SIDs to add to the messaging service