HubtelDevelopers
API referenceSMS

Send an SMS

POST
/v1/messages/send

Sends one SMS from an approved sender ID. The response includes a messageId; delivery is reported to your callback and via Get a message. Sender IDs are approved per business; in test mode any sender ID works.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/messages/send" \  -H "Content-Type: application/json" \  -d '{    "From": "AbrantieLai",    "To": "233546335113",    "Content": "This is a test. Kindly ignore."  }'
{  "rate": 0.0246,  "messageId": "fab43849-6c5b-4334-a88b-d06520b1ace8",  "status": 0,  "networkId": "62002",  "clientReference": null,  "statusDescription": "request submitted successfully"}