SMS for Applications REST API (v1.0.0)

The Retarus SMS for Applications REST API is a service to send SMS and lookup the status.

To obtain a test account for this service or any of our other SMS services, please contact Retarus.

Download OpenAPI description
Languages
Servers
Mock server
https://developers.retarus.com/_mock/sms/sms4a-api/
Primary data center
https://sms4a.de2.retarus.com/rest/v1/
Secondary data center
https://sms4a.de1.retarus.com/rest/v1/
HA endpoint - only to send SMS
https://sms4a.eu.retarus.com/rest/v1/

SMS Jobs

Operations

SMS Status

Operations

Get status for all recipients of a job.

Request

Get the individual SMS status for all SMS's of a job

Query
jobIdstringJ\..{18,38}required

The Retarus job ID.

Example: jobId=J.20180620-085038.561-0jimrdkk7SOILYBNMK
curl -i -X GET \
  -u <username>:<password> \
  'https://developers.retarus.com/_mock/sms/sms4a-api/sms?jobId=J.20180620-085038.561-0jimrdkk7SOILYBNMK'

Responses

Get report for all recipients of job ID successful.

Bodyapplication/jsonArray [
smsIdstringread-only
Example: "S.20220928-125820.022-0l8likueyRB3CT8FTG"
dststringread-only

Recipient’s mobile phone number.

Example: "+4917600000000"
processStatusstringread-only

Current process status (see SMS Outbound Status Codes).

Example: "DONE"
statusstringread-only

Status (see SMS Outbound Status Codes).

Example: "SUC_FIN"
customerRefstringread-only

Recommended max. 64 characters.

Example: "TransactionId: ABC123"
reasonstringread-only
Example: "message_state:DELIVERED [00000002] (Final) (Message is delivered to destination.)"
sentTsstring(date-time)read-only

Timestamp when the SMS was sent (iso-8601).

Example: "2022-09-28T10:58:30.022Z"
finishedTsstring(date-time)read-only

Timestamp which indicates when the SMS received its final status (iso-8601).

Example: "2022-09-28T10:59:34.150Z"
]
Response
application/json
[ { "smsId": "S.20220928-125820.022-0l8likueyRB3CT8FTG", "dst": "+4917600000000", "processStatus": "DONE", "status": "SUC_FIN", "customerRef": "TransactionId: ABC123", "reason": "message_state:DELIVERED [00000002] (Final) (Message is delivered to destination.)", "sentTs": "2022-09-28T10:58:30.022Z", "finishedTs": "2022-09-28T10:59:34.150Z" } ]

Version

Operations