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
Overview
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/
- Mock server
https://developers.retarus.com/_mock/sms/sms4a-api/sms
- Primary data center
https://sms4a.de2.retarus.com/rest/v1/sms
- Secondary data center
https://sms4a.de1.retarus.com/rest/v1/sms
- HA endpoint - only to send SMS
https://sms4a.eu.retarus.com/rest/v1/sms
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://developers.retarus.com/_mock/sms/sms4a-api/sms?jobId=J.20180620-085038.561-0jimrdkk7SOILYBNMK'
Get report for all recipients of job ID successful.
Example: "message_state:DELIVERED [00000002] (Final) (Message is delivered to destination.)"
Timestamp when the SMS was sent (iso-8601).
Example: "2022-09-28T10:58:30.022Z"
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" } ]