Description
This endpoint allows you to send an SMS message to a recipient. You can specify the sender ID, route, and include DLT (Distributed Ledger Technology) information for compliance.
Your API key for authentication.
Your workspace ID for authentication.
Body
The phone number of the recipient in international format (e.g., “919876543210”).
The plain text content of the SMS message.
The sender ID to display on the recipient’s phone. If not provided, a default sender ID will be used.
The SMS route to use for sending. Options may include promotional, transactional, etc.
Whether to send as a flash SMS. Flash SMS appears directly on the screen without saving. Default: false
DLT (Distributed Ledger Technology) entity ID for compliance purposes.
DLT template ID for compliance purposes.
Optional URL to receive post-back notifications about the SMS status.
Optional data to include in post-back notifications.
Response
Indicates whether the call was successful. true if successful, false if not.
Success or error response message.
200-Success
400-Bad Request
401-Unauthorised
{
"status" : true ,
"message" : "SMS sent successfully"
}