HubtelDevelopers
API referenceSMS

Get a message

GET
/v1/messages/{messageId}

Returns a message's delivery status: delivered, undelivered, rejected or expired.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Path Parameters

messageId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/messages/string"
{  "rate": 0.0309,  "batchId": null,  "messageId": "eadbfcd0-94d1-438f-ad32-0013f34042c2",  "content": "The Job is the JOB",  "status": "Delivered",  "updateTime": "2023-05-30T16:43:15",  "time": "2023-05-30T16:43:13.7208383Z",  "to": "233546335113",  "from": "AbrantieCo"}