All requests must include the
Authorization: Bearer YOUR_API_KEY header. Requests and responses use Content-Type: application/json.Endpoint
Request
Request Body Parameters
string
required
Recipient phone number in E.164 format (e.g.
+233201234567). Ghana numbers follow the pattern +233XXXXXXXXX.string
required
Your registered and approved Sender ID. Maximum 11 alphanumeric characters. The Sender ID must have
status: "approved" before you can use it to send messages.string
required
The SMS message body. Messages longer than 160 characters are automatically split into segments — each segment consumes 1 credit.
string
An HTTPS URL to receive delivery status webhook events for this message. The URL must be publicly reachable.
Response
200 — Success
Response Fields
string
Indicates the outcome of the request. Either
"success" or "error".string
Unique identifier for this message. Use this value to query delivery status via the Delivery Reports endpoint.
string
The recipient phone number exactly as you provided it.
string
The Sender ID used for this message.
integer
The number of SMS segments the message was split into. Messages up to 160 characters use 1 segment; longer messages are split into 153-character segments.
integer
The number of credits consumed for this send. Equal to the number of segments.
integer
Your account’s remaining credit balance after this send.