Skip to main content
GET
Get messages

Authorizations

Authorization
string
header
required

Authenticate with Authorization: Bearer <token> using a user API token from Profile Settings. Available in Chatwoot v4.19.0 and later.

Path Parameters

account_id
integer
required

The numeric ID of the account

conversation_id
integer
required

The numeric ID of the conversation

Query Parameters

after
integer

Fetch messages after the message with this ID. Returns up to 100 messages in ascending order.

before
integer

Fetch messages before the message with this ID. Returns up to 20 messages in ascending order.

Response

Success

meta
object
payload
object[]

Array of messages