Get Channel Messages
GET
/channels/{channelId}/messagesGet the messages from a channel. Only available if the channel is public.
Request
Path Params
channelId
string
required
Query Params
limit
integer
optional
The maximum number of messages to receive
>= 0<= 9223372036854776000
Default:
51
beforeDate
string <date-time>
optional
Filters messages by those created before a certain timestamp
afterDate
string <date-time>
optional
Filters messages by those created after a certain timestamp
Default:
1970-01-01T00:00:00
Request samples
Responses
OK(200)
Must have the correct permissions to read content for this channel(403)
Channel not found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
messages
$ref(#/definitions/2340041)[]
required
The retrieved messages
#/definitions/2340041
optional
repliedToMessages
$ref(#/definitions/2340041)[]
required
#/definitions/2340041
optional
hasPastMessages
boolean
optional
Whether there are more messages preceeding those returned
threads
$ref(#/definitions/2340062)[]
optional
The threads attached to the returned messages, if any
#/definitions/2340062
optional
Example
Not configured
Modified at 3 months ago