provider Conversations GET /conversations/{conversation_id}/messages
@utdk/front /conversations/{conversation_id}/messages
List conversation messages
List the messages in a conversation in reverse chronological order (newest first). Required scope: `messages:read`
conversation_id path required
The conversation ID
string
limit query
Max number of results per [page](https://dev.frontapp.com/docs/pagination)
integer
page_token query
Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)
string
sort_by query
Field used to sort the messages. Only supports `created_at`.
string
sort_order query
Order by which results should be sorted
enum: asc, desc

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listConversationMessages
GET/conversations/{conversation_id}/messages
List the messages in a conversation in reverse chronological order (newest first). Required scope: `messages:read`

Parameters

required

The conversation ID

Max number of results per [page](https://dev.frontapp.com/docs/pagination)

Token to use to request the [next page](https://dev.frontapp.com/docs/pagination)

Field used to sort the messages. Only supports `created_at`.

Order by which results should be sorted

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.listConversationMessages({
  "conversation_id": "cnv_123"
})