Send Single SMS
You can use this API to send single SMS
Single Single SMS
POST https://{domain_name}/api_smsc/v1/sms
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
Request Body
Name
Type
Description
text
string
Content of sms.
dnis
string
A number where to send sms.
ani
string
A number from where you can send sms.
{
"success": true,
"object_uuid": "f8665c3e-73dd-4b3c-a2ea-7268288c5e05"
}
"name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}{"message": TN does not exist}curl -X POST "https://<your domain>/api_smsc/v1/sms"
-H "accept: application/json"
-H "X-Auth-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNywiZXhwIjoxNTkwNjYxNzExfQ.3n_1YXE3QqlzBVj1PAfO2ifzi-eZ-VFsabElQGQxvrY"
-H "Content-Type: application/json"
-d "{ \"text\": \"good afternoon\", \"ani\": \"12068882102\", \"dnis\": \"16208783000\"}"
Last updated
Was this helpful?