List messages
Returns a paginated list of messages within a specific experience chat, DM, or group chat channel, sorted by creation time.
Required permissions (one of):
- chat:read
- dms:read
- support_chat:read
Query parameters
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
The unique identifier of the channel or experience to list messages for.
The direction of the sort.
Response
A successful response
Example response
{
"data": [
{
"content": "Hey, are you available for a **quick call**?",
"created_at": "2023-12-01T05:00:00.401Z",
"poll_votes": [
{
"count": 42
}
],
"reaction_counts": [
{
"count": 42
}
],
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
},
"view_count": 42
}
]
}Changes
Changed in 50 of the 74 revisions of this API.1103
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
chat:readwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
Of the 74 revisions, 1 has no diff computed.