Prerequisites
Before you begin, ensure you have:- A valid and active Service - You can get one by visiting the Services page
- There are two ways to get Service ID
- Use the Service endpoint to list all services and retrieve the ID of the specific one you intend to use
- Go to the Services page and copy the ID by clicking on the copy file icon as shown in the image below.
- API Client Authorization - This endpoint requires the
mobilize.sms.send.oneway
API client authorization scope to send one way messages. You can set up scopes on the API Clients page
Advanced Features
For enhanced functionality, you can include an optionalreceiptRequest
in
the request body. This feature allows you to receive delivery receipts for the messages
you send, enabling you to track their status and confirm successful delivery. The
receiptRequest
object includes the following fields:
- correlator: A unique string to correlate the delivery receipt with the original message.
- callbackUrl: A URL where the delivery receipt will be sent.