Skip to content

Send SMS Job.

Request

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
Bodyapplication/json
optionsobject(Options)
messagesArray of objects(SMS messages)required
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"
          }
        ]
      }
    ]
  }'

Responses

Job successfully created.

Bodyapplication/json
jobIdstringread-only
Response
{ "jobId": "J.20221116-102407.583-0lajfsfmoXIZJO93PQ" }