Skip to main content
GET
Retrieve a message

Authorizations

Authorization
string
header
required

The API key, created in Settings › API, in the header Authorization: Bearer . The default.

Path Parameters

message_id
string<uuid>
required

The message id.

Response

The message.

object
string
required
Allowed value: "message"
id
string<uuid>
required
lead_id
string<uuid>
required
direction
enum<string>
required
Available options:
inbound,
outbound
sender
enum<string>
required

lead: written by the lead. agent: sent by the agent (the AI or a person). skills: an agent tool.

Available options:
lead,
agent,
skills
origin
enum<string>
required

Who originated it. lead: the lead. ai: the AI agent. manual: a person from the dashboard. api: an API request. system: the platform, for example a notice. unclassified: historical rows with no known origin.

Available options:
lead,
ai,
manual,
api,
system,
unclassified
type
enum<string>
required
Available options:
text,
template,
media
text
string | null
required

null on a lead message with an attachment and no caption.

template
object | null
required
attachments
object[]
required
reply_to_message_id
string<uuid> | null
required
status
enum<string>
required

received: a message from the lead. queued: stored but not yet sent to WhatsApp (in the queue, outside sending hours, waiting for template approval or with no channel connected). accepted: WhatsApp accepted it. sent, delivered, read and failed are confirmed by WhatsApp later.

Available options:
received,
queued,
accepted,
sent,
delivered,
read,
failed
error
object | null
required

Why it failed, if it failed.

created_at
string<date-time>
required
sent_at
string<date-time> | null
required
delivered_at
string<date-time> | null
required
read_at
string<date-time> | null
required
failed_at
string<date-time> | null
required
lead_created
boolean

Only in the POST /messages response: whether the send created the lead.

warnings
enum<string>[]

Only in the POST /messages response: steps after the send that failed (the template was already sent). Empty if there were no warnings.

Available options:
pause_ai_failed,
variables_failed,
conversation_reset_failed