Skip to main content
Required scopes: support_messages_send, support_tickets_read, support_tickets_write
The team’s rating of this message. Null unless authorType is AI_AGENT and someone has rated it.Requires: support_tickets_read
What the AI looked up (orders, products, knowledge, links) before this message, as the help desk shows it above the message: each lookup on the thread attaches to the first message after it that the customer didn’t write. Null when nothing was looked up before it. A request reads its messages 100 at a time, for 10 points each time.Requires: support_tickets_read
The message’s files, oldest first, as the help desk shows them, an email’s inline images included. A removed file is left out, and so is one whose link can’t be made right now. Empty when the message has none. Null, with an error, when they can’t be read. A request reads its messages’ files 100 messages at a time, for 10 points each time.Requires: support_tickets_read
Who wrote the message.
What the card shows or asks for. OTHER for a kind this API version doesn’t name, or a card whose content is gone.
Where an approval card stands; a pending one past expiresAt reads as EXPIRED, as the chat shows it. Null for a card that only shows something.
The channel the message is on.
String
The message as plain text. Null for a message with no text, such as an image.
The customer who wrote it. Null unless authorType is CUSTOMER, and null when their record was deleted.Requires: customers_read
When the customer approved or turned down the card. Null until then, and for a card that only shows something.
Why the card lapsed. Null unless cardStatus is EXPIRED.
When an approval card stops taking an answer. Null for a card that only shows something.
ID!
required
A globally-unique identifier. Treat it as an opaque handle: pass it back to the API (e.g. to node(id:)) to refetch this object, but don’t parse it or build one yourself — its format is not part of the contract and may change.
The message this one replies to. Null when it isn’t a reply, or that message is hidden.Requires: support_tickets_read
How the approved action ended, from the newest press on the card, as the chat shows it (an approved card with an ERROR outcome shows as failed). Null while it is still running, before anything ran, and for a card that only shows something.
The catalog products the card showed, in its order: a carousel’s or a comparison’s products, a wishlist’s items, a bundle’s product and then the ones it discounts, or a back-in-stock alert’s or try-on’s product. Empty for a card that shows none, such as an order change, and for a kind this API version doesn’t name.
required
When the message was sent or received.
Boolean!
required
True for a card that runs an action once the customer approves it, which is the card that has a cardStatus; false for one that only shows something.
The team member who wrote it. Null unless authorType is TEAM_MEMBER, and null when they’ve left the team.Requires: support_tickets_read
The thread the message is on. Null when the thread is on a channel the API doesn’t expose.Requires: support_tickets_read