For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send OTP SMS to Customers

Send OTP SMS to Customers

POST https://api.oneroute.io/api/public/sms

This is for sending OTP messages only

Headers

Name
Type
Description

apiKey*

string

API key for authentication.

Request Body

Name
Type
Description

message

string

The message to send to the customers

recipients

array

List of recipients phone numbers

recipients.*

string

recipient phone number. Must be in international format (Example: 2341793026727).

Request Payload

{
    "message": "message content",
    "recipients": ["23490xxxxxxxx"]
}

Response

{
    "body": [
        {
            "status": "success",
            "response": "4744271336207951463605"
        }
    ],
    "message": "SMS processed successfully",
    "success": true
}

Last updated