Send one or more SMS with one or more recipients each. The total number of recipients is limited to 3000 per job. The response contains the job ID (jobId) of your new SMS job.
Security
httpBasicAuth
- Mock serverhttps://developers.retarus.com/_mock/sms/sms4a-api/jobs
- Primary data centerhttps://sms4a.de2.retarus.com/rest/v1/jobs
- Secondary data centerhttps://sms4a.de1.retarus.com/rest/v1/jobs
- HA endpoint - only to send SMShttps://sms4a.eu.retarus.com/rest/v1/jobs
Send just one SMS - one message to one recipient - using default account options
curl -i -X POST \
-u '<username>:<password>' \
https://developers.retarus.com/_mock/sms/sms4a-api/jobs \
-H 'Content-Type: application/json' \
-d '{
"messages": [
{
"text": "Your access code is ABC1234",
"recipients": [
{
"dst": "+4917600000000"
}
]
}
]
}'Response
{ "jobId": "J.20221116-102407.583-0lajfsfmoXIZJO93PQ" }