Conversations API
The Conversations API reads conversations for the authenticated shop. Complete Open Platform authentication before calling it.
Base path:
You can list conversations and get one conversation with its messages. These requests are read-only. They do not mark a conversation as read.
Conversation fields
Message fields
Returned only when getting one conversation.
List conversations
The request body is optional. An empty body {} returns the first page with the default page size, sorted by creation time.
Request body:
createdFrom, createdTo, lastMessageFrom, and lastMessageTo use the same UTC ISO-8601 format: YYYY-MM-DDTHH:mm:ssZ. A time with an offset is also accepted, for example 2026-09-01T08:00:00+08:00. Do not send a date alone, such as 2026-09-01, or epoch milliseconds.
page must be at least 1. pageSize must be from 1 to 50. orderBy must be newest or lastMessage. A start time must not be later than its end time. A malformed JSON body also returns 400.
200 response:
An empty result is still 200, with items set to [] and total set to 0.
Get one conversation
Path parameter:
200 response:
messages is ordered from oldest to newest. It is [] when the conversation has no messages.
Returns 404 when the ID does not exist for the authenticated shop.

