Get media from a chat
Chats
Get media from a chat
Returns a cursor-paginated list of media items shared between the authenticated user and the specified user. Media is extracted from chat messages and ordered by date (newest first).
Pagination Flow:
- First request: Omit the
cursorparameter, returns first 20 media items (or specified limit) - Subsequent requests: Use the
nextCursorfrom the previous response - End of results:
nextCursorwill benull
{
"data": [...media items...],
"nextCursor": "..." // Pass this to the next request to get the following page
}
Scope required: read:chat
GET
Get media from a chat
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
API version to use for the request
Example:
"2025-06-26"
Path Parameters
Query Parameters
Cursor for fetching the next page of media
Filter by media type (image, video, audio, document)
Available options:
image, video, audio, document Number of media items to return (1-50, default: 20)
Required range:
1 <= x <= 50