HubtelDevelopers
API referenceSMS

Send an SMS with a GET request

GET
/v1/messages/send

Sends one SMS with credentials and content in the query string. Prefer Send an SMS (POST): query strings may be recorded in server logs and expose your client secret.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Query Parameters

clientsecret*string

The client secret used to authenticate SMS requests. See API keys and authentication.

clientid*string

The client ID used to authenticate SMS requests. See API keys and authentication.

from*string

Sender ID or Name recipients will see. Maximum characters for this value is 11.

to*string

Mobile number of recipient.

content*string

Content of the simple message

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/messages/send?clientsecret=sgrorne&clientid=qoohqvcp&from=Abrantie&to=233546335113&content=GoTesting"
{  "rate": 0.0309,  "messageId": "9c5f3edc-529e-4182-959b-aeb17b9ddad4",  "status": 0,  "networkId": "62001",  "clientReference": null,  "statusDescription": "request submitted successfully"}