Enables agents to send SMS messages via the API. Agents are identified by their extensions (agent parameter). The destination numbers are specified in the number parameter.
POST /api/v1/{api_key}/sendsms
All parameters are valid and the SMS sending is successful.
application/json
{
"sms_id": "cf283919-86f4-46a6-8b45-29bd7a752827",
"segments": 1
}
Was this page helpful?
curl -X POST \
--url 'https://{cluster_id}.voiso.com/api/v1/%7Bcontact_center_api_key%7D/sendsms' \
-H 'Accept: application/json'\
-d 'agent=102' \
-d 'number=number2' \
-d 'body=body6'