v30

latestOpenAPI 3.0.0raw.githubusercontent.com2026-04-22116135580.0 KB
Messages

Batch get message contents

Get the contents of multiple messages in a single request.

get/v1/messages/batch/content

Query parameters

message_ids[]string[] required

The IDs of the messages to fetch contents of.

Response

OK

__typenamestring required

The typename of the schema.

inserted_atstring date-time required

Timestamp when the message content was created.

message_idstring required

The unique identifier for the message content.

Example response

[
  {
    "__typename": "MessageContent",
    "data": {
      "__typename": "MessageSmsContent",
      "body": "URGENT: Power failure detected in perimeter fencing. Backup generators failed to engage. Technical team dispatched. Maintain lockdown protocols.",
      "to": "+15553982647"
    },
    "inserted_at": "1993-06-11T20:30:00Z",
    "message_id": "2w3YUpTTOxuDvZFji8OMsKrG176"
  }
]