Pular para o conteúdo principal

List a channel's messages

GET 

/api/v1/accounts/:account_id/team_channels/:team_channel_id/team_messages

Thirty at a time, oldest first within the page.

Cursor-paginated, not page-numbered. To read further back, pass the created_at and id of the oldest message you hold as before_at and before — the pair is needed because history imported out of sequence would misorder on the id alone.

Without parent_id only the root messages come back; pass one to read a thread.

Request​

Responses​

Success