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

userUuidstringRequiredformat: "uuid"

Headers

X-Fanvue-API-VersionstringRequiredDefaults to 2025-06-26
API version to use for the request

Query parameters

cursorstringOptional
Cursor for fetching the next page of media
mediaTypeenumOptional

Filter by media type (image, video, audio, document)

Allowed values:
limitdoubleOptional1-50Defaults to 20

Number of media items to return (1-50, default: 20)

Response

Cursor-paginated list of media items

datalist of objects
nextCursorstring or null
Cursor for fetching the next page, null if no more results

Errors