For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search for Single Message log

This document will go over how to search your message logs for a specific message.

GET /message/:id

Search for a Single message log using an id.

curl -X GET \
"https://api.mobivatebulksms.com/message/9A0C23DD0A000A9D2FBD4671D780AFDA" \
-H 'Authorization: Bearer [API Key]'

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer [API Key]

Body

Name
Type
Required?
Description

id

string

No

The unique message id.

Response

{
   "id":"9A0C23DD0A000A9D2FBD4671D780AFDA",
   "created":"2023-07-01T01:10:34+0000",
   "modified":"2023-07-01T01:10:39+0000",
   "originator":"Sender ID",
   "recipient":"4400011223",
   "body":"Test Message 1",
   "status":"DELIVERED",
   "direction":"MT",
   "inReplyTo":null,
   "routeId":"mglobal",
   "parts":1,
   "cost":0.01,
   "currency":"GBP",
   "senderReference":"ref-001",
   "campaignId":null
}

We use conventional HTTP response codes to indicate the success or failure of an API request. In general:

2xx indicate success 4xx indicate an error that failed given the information provided (e.g., a required parameter was omitted) 5xx errors indicate an error with ours servers (these are rare).

To see a full list of our Response codes, please click here.

Last updated