> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbit.devotel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Messaging

<Note>
  **Correlated message-ID lookup** — `GET /api/v1/messages` accepts
  `?message_ids=<id1,id2,...>` (up to 100) as a cross-channel delivery log
  search. Each id is OR-matched against the internal `id` OR the
  provider-assigned `external_id` (e.g. a Twilio MessageSid, a WABA message
  id, a Resend email id), so the provider id you already hold resolves the
  same row. Combine with `channel` / `from_date` / `to_date` to narrow.
</Note>

<ParamField query="q" type="string">
  Search DSL — fielded `field:value` clauses AND-ed together. Supported fields include `message_id`, `external_id`, `status`, `channel`, `direction`, `from`, `to`, `body`, `created`, `updated`, `conversation_id`, `contact_id`. `message_id` and `external_id` both look up the provider-side identifier (Jasmin/SMPP receipt ref, Meta `wamid`, Resend email id, jambonz CallSid, Telnyx fax id) from the provider console. String fields support `*` wildcards. Invalid syntax or unknown fields return 400. See the [Search message history guide](/guides/search-message-history).
</ParamField>
