Skip to main content
essages come in two variants:
  • Regular messages - the actual conversation: incoming and outgoing texts, media, buttons, lists, and template sends.
  • System messages (systemMessage: true) - routing records describing assignment and status changes. They carry only the fields in the System messages section and have no direction, status, content or reactions.
All message timestamps are epoch milliseconds.
Example message object

Identity & routing

Content

type selects which content fields are present.

Media items

Each entry of the media[] array:

Delivery & status

Bot & automation

Templates & campaigns

Retention & deletion

System messages

Present only when systemMessage: true. System messages additionally carry _id, chatChannelInfo, parent_chat, timestamp, botSessionId and a placeholder channelInfo. They appear in Get Messages of a Chat history, but do not trigger message webhook events.

Deprecated fields

These may still appear in responses but should not be used in new code.

Message status values

Used by status, statusHistory[].status and the messageStatus webhook field.

Content type values

More enums and the ID cheat sheet: Enums & Common Fields.