Channels
Messages
List messages in a channel
Retrieves a paginated list of messages from a channel. User must have permission to view the channel. Supports pagination via limit, before, after, and around parameters. Returns messages in reverse chronological order (newest first).
get/channels/{channel_id}/messages
Path parameters
The ID of the channel
Query parameters
limitstring
Number of messages to return (1-100, default 50)
Number of messages to return (1-100, default 50)
Get messages before this message ID
Get messages after this message ID
Get messages around this message ID
Response
Success