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 `cursor` parameter, returns first 20 media items (or specified limit)
- Subsequent requests: Use the `nextCursor` from the previous response
- End of results: `nextCursor` will be `null`
```json
{
"data": [...media items...],
"nextCursor": "..." // Pass this to the next request to get the following page
}
```
<Info>Scope required: `read:chat`</Info>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
userUuid
Headers
X-Fanvue-API-Version
API version to use for the request
Query parameters
cursor
Cursor for fetching the next page of media
mediaType
Filter by media type (image, video, audio, document)
Allowed values:
limit
Number of media items to return (1-50, default: 20)
Response
Cursor-paginated list of media items
data
nextCursor
Cursor for fetching the next page, null if no more results