Skip to main content
GET
/
history
/
message
/
{id}
cURL
curl --request GET \
  --url https://api.contiguity.com/conversations/history/message/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "req_xxxxxxxxxxxxxxxx",
  "timestamp": 1770504853095,
  "api_version": "v2026.2.7",
  "object": "response",
  "data": {
    "id": "text_u98sZQCVsLvgBq80",
    "to": "+1234567890",
    "from": "+15555555555",
    "message": "Hello, world!",
    "timestamp": 1757550304652,
    "status": "delivered",
    "attachments": []
  }
}
Distinguish between incoming and outgoing messages by checking the ID
  • Incoming messages have an ID that starts with evt_
  • Outgoing messages have an ID that starts with text_, imessage_, or whatsapp_
Contiguity has no way to query messages from carriers. Contiguity can only return messages we have processed and stored.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Message ID

Example:

"text_u98sZQCVsLvgBq80"

Response

Get any message by its ID

id
string
required
Example:

"req_xxxxxxxxxxxxxxxx"

timestamp
number
required
Example:

1770504853095

api_version
string
required
Example:

"v2026.2.7"

object
string
required
Example:

"response"

data
object
required