Feel free to reach techsupport@surepass.io for any technical support or guidance.
client_id that can be used to track the message.Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | JWT Bearer token for authentication. Format: Bearer <your_jwt_token> |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| template_id | String | Yes | The SMS template ID registered with telecom/DLT authorities |
| sender_id | String | Yes | The Sender ID (Header) registered on DLT for this template |
| mobile | String | Yes | The mobile number to which the SMS will be sent (10-digit format without country code) |
| variables | Object | No | Key-value map for template variables (e.g. var1, var2, ...), depending on your template |
{
"template_id": "1707181302450588811",
"sender_id": "TEST",
"mobile": "9999999999",
"variables": {
"var1": "9978",
"var2": "9978"
}
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data |
| data.client_id | String | Unique identifier for this SMS request, useful for tracking |
| data.created_at | String | Timestamp when the SMS request was created |
| data.sender_id | String | Sender ID used for this SMS |
| data.template_id | String | Template ID used for this SMS |
| data.mobile | String | The mobile number to which the SMS was sent |
| data.status | String | Current status of the SMS (e.g. sent) |
| data.message | String | Final message text sent to the user (after variable substitution) |
| data.error_code | String? | Provider or internal error code, if any |
| data.error_message | String? | Human-readable error message from provider, if any |
| status_code | Integer | HTTP-like status code of the response |
| success | Boolean | Indicates if the API call was successful |
| message | String | Human-readable message describing the result |
| message_code | String | Machine-readable code representing the result |
{
"data": {
"client_id": "send_sms_lhPuyQfweToMjivctmnZ",
"created_at": "2025-12-22T11:47:44.990884",
"sender_id": "TEST",
"template_id": "1707181302450588811",
"mobile": "9999999999",
"status": "sent",
"message": "Your transaction of INR 1,000 has been processed successfully. Thank you for using Test Technologies.",
"error_code": null,
"error_message": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 404,
"success": false,
"message": "Invalid Template ID or Sender ID provided.",
"message_code": null
}client_id securely so you can track and troubleshoot SMS deliveries.mobile and variables before calling the API.curl --location --request POST 'https://kyc-api.surepass.app/api/v1/sms/send-sms' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"template_id": "1707181302450588811",
"sender_id": "TEST",
"mobile": "9999999999",
"variables": {
"var1": "9978",
"var2": "9978"
}
}'{
"data": {
"client_id": "send_sms_lhPuyQfweToMjivctmnZ",
"created_at": "2025-12-22T11:47:44.990884",
"sender_id": "TEST",
"template_id": "1707181302450588811",
"mobile": "9999999999",
"status": "sent",
"message": "#One Time Password is 123456. This is usable once and expire in 10 minutes. Please do not share this with anyone. - Test Technologies",
"error_code": null,
"error_message": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}