Description
This endpoint allows you to send an SMS using a predefined template. Templates can include variables that are replaced with actual values when the SMS is sent.
Your API key for authentication.
Your workspace ID for authentication.
Body
The phone number of the recipient in international format (e.g., “919876543210”).
The name of the SMS template to use.
The ID of the SMS template to use.
Key-value pairs for template variables. Keys should match the variable names in the template, and values will replace the placeholders.
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
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 template sent successfully"
}