chats.media: The media shared in one chat, checked now on the account (without files).
API v1 is being retired. API v2 was published on 2026-11-09. v1 stops answering on 2026-12-07 (2026-12-21 if your agency asks for the extension), earlier only if no key uses it and announced at least 7 days before (Versioning); the
Sunsetheader of each v1 response is the date that applies to your key. Migrate from v1 to v2.
GET /v1/chats/{chatId}/media · MCP tool chats_media · Chats and inbox
What it does
The media shared in one chat, checked now on the account (without files).
When to use it
Lists the photos, videos and audios shared in one chat, the gallery of the chat in VENUZ, checked now on the account with exactly one call per request (one page of 20 messages with media). Each entry says who sent it, whether it came in a paid message, its price and whether the fan bought it. Filter it like the gallery tabs. It returns no file links: the files are a separate function. It never changes anything. A chat of an account outside this key answers 404, the same as one that does not exist.
Permission and cost
| Permission | chats:read |
| Effect | Read only: it never changes anything. |
| Cost class | realtime — costs 2 units (realtime call to the account on OnlyFans; also shows the account queue) |
| Scope | The accounts this key can use. |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
chatId | path | string (uuid) | yes | Chat id in VENUZ (from chats.inbox or chats.list). |
filter | query | one of "all", "unlocked", "purchased", "photos", "videos", "audios", default "all" | no | all: everything shared in the chat. unlocked: what the fan can open (free media and paid messages the fan bought). purchased: only paid messages the fan bought from this account. photos, videos, audios: only that kind. |
cursor | query | string, up to 512 characters | no | next_cursor of the previous page, for the SAME chat and filter. Omit it for the first page. |
Example request (test mode)
With a test key in VENUZ_API_KEY (export VENUZ_API_KEY=vzk_test_…), this request changes nothing: test keys answer from a sample dataset.
curl -X GET "https://open.venuz.ai/v1/chats/7a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d/media" \
-H "Authorization: Bearer $VENUZ_API_KEY"
Example response (200)
{
"account": {
"id": "3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e",
"name": "Sample Creator",
"connection": {
"state": "connected",
"as_of": "2026-09-28T12:00:00.000Z"
}
},
"chat_id": "c0000000-0000-4000-8000-000000000001",
"data": [
{
"message_id": "9150859171849",
"media_id": "3301234567",
"type": "video",
"from": "creator",
"viewable": true,
"free_preview": false,
"paid_message": {
"price_usd": 15,
"purchased": true
},
"media_in_message": 2,
"duration_seconds": 42,
"sent_at": "2026-09-27T21:04:00.000Z"
}
],
"next_cursor": null,
"source": "onlyfans",
"as_of": "2026-09-28T12:00:00.000Z"
}
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
account | object | yes | The OnlyFans account this data belongs to, with its connection state. |
account.id | string (uuid) | yes | |
account.name | string | yes | Display name of the account in VENUZ, set by the agency. |
account.connection | object | yes | |
account.connection.state | one of "connected", "connecting", "disconnected" | yes | Connection state of the OnlyFans account in VENUZ, from our stored record. Some accounts not yet moved to the new connection may read disconnected here; checks on the account are not available for them yet. |
account.connection.as_of | string (date-time), or null | yes | When VENUZ last saw the account connected. Null if never. |
chat_id | string (uuid) | yes | |
data | array of object | yes | One entry per media, newest message first, as OnlyFans lists the gallery. |
data[].message_id | string | yes | OnlyFans id of the message that carries this media. |
data[].media_id | string | yes | OnlyFans id of the media (digits assigned by OnlyFans). |
data[].type | one of "photo", "video", "audio", "gif", "other" | yes | |
data[].from | one of "fan", "creator" | yes | Who sent it: the fan, or the account side (the team or Calypso). |
data[].viewable | boolean | yes | Whether it can be opened now (false for a locked paid message the fan sent and nobody paid for). |
data[].free_preview | boolean | yes | A free preview of a paid message. |
data[].paid_message | object, or null | yes | Set when the media came in a paid message (PPV); null when it was free. |
data[].paid_message.price_usd | number | yes | Price of the paid message. |
data[].paid_message.purchased | boolean | yes | Whether the fan bought it. |
data[].media_in_message | integer, at least 0 | yes | How many media the message carries. |
data[].duration_seconds | number, at least 0, or null | yes | Length of a video or audio. |
data[].sent_at | string (date-time), or null | yes | |
next_cursor | string, or null | yes | Pass it as cursor, with the same filters, to get the next page. Null when there are no more results. |
source | one of "store", "onlyfans" | yes | store: read from the copy VENUZ keeps (fast, no load on the OnlyFans account). onlyfans: a live check on the account during this call. |
as_of | string (date-time) | yes | When this data was true. For source=store it is when VENUZ last updated its copy (or read it, if the record carries no update time); for source=onlyfans it is the moment OnlyFans answered. |
Errors and what to do
Every error is { "error", "message", "fix", "docs_url", "request_id" }. Branch on error; do what fix says.
| Error | HTTP | What to do |
|---|---|---|
invalid_request | 400 | Use a filter from the list, and the next_cursor of the previous page for the same chat and filter. |
invalid_request | 400 | Correct the request, then retry. When details.invalid_fields is present, each entry names a field and what it needs (its message); when details.reason is present, it says what is wrong. The parameters and body of every operation are in the specification. |
invalid_api_key | 401 | Send a valid key as "Authorization: Bearer vzk_live_..." (or vzk_test_...). If you lost the key, ask the agency to create a new one. |
api_key_expired | 401 | Ask the agency to rotate the key or create a new one. Keys last at most 366 days. |
api_key_revoked | 401 | Stop using this key. Ask the agency for a new one if you still need access. |
api_key_suspended | 403 | If details.reason is creator_withdrawn, ask the agency owner to create a new key from an active member of the team. If it is suspended_by_venuz, contact VENUZ support: the same key works again as soon as the suspension is lifted, so do not delete it. |
agency_inactive | 403 | The agency's VENUZ account is suspended or closed; access resumes when it is active again. Do not delete the key. |
api_not_enabled | 403 | Ask VENUZ support to enable API access for the agency. Keep the key: it works as soon as access is enabled. |
ip_not_allowed | 403 | Send the request from one of the addresses allowed on the key, or ask the agency to update the allowed addresses. |
insufficient_scope | 403 | Call GET /v1/whoami to see what this key can do. Ask the agency to grant the missing permission (listed in details.missing_scopes) or to use a key that has it. If details.withheld_by_creator is true, the key has the permission but the person who created it cannot do this in VENUZ today: they need the role permissions in details.creator_missing_permissions (when details.creator_needs is any_of, any one of them is enough), or the agency must use a key created by someone who has them. |
resource_not_found | 404 | Check chatId: take it from chats.inbox or chats.list. |
of_rejected | 409 | Nothing was changed. Do not retry the same request: check that the item still exists on OnlyFans and that the account can see it on OnlyFans, then read again with a corrected request. |
rate_limited | 429 | Wait for the number of seconds in the Retry-After header, then retry. Spread requests out instead of retrying in a loop. Each request costs the units of its cost class (header X-Request-Cost: 1 for stored data, 2 for a realtime call to the OnlyFans account or a heavy query), and the RateLimit-* headers show how many units are left for this key and its agency in the current minute. |
bulk_read_limited | 429 | Wait for the number of seconds in the Retry-After header, then continue slowly; the limit returns to normal by itself within an hour. Read only what changed (the next_cursor of each list, and webhooks for new events) instead of re-reading every fan, chat or message. Reading every fan, chat or message of an account in a short time breaches the VENUZ API Terms; if it continues, the key can be suspended. Other operations of this key are not affected. |
internal_error | 500 | Retry once after a few seconds; do not retry in a loop. If the request was a write, retry with the SAME Idempotency-Key, never a new one. If it keeps failing, contact VENUZ support and include the request_id. |
api_halted | 503 | Wait for the number of seconds in the Retry-After header, then retry. Your key is still valid. |
stored_data_unavailable | 503 | Nothing was changed. Wait for the number of seconds in the Retry-After header, then retry once; do not retry in a loop. Narrowing the request (account_id or chat_id, a smaller limit) makes it lighter. If it keeps failing, contact VENUZ support with the request_id. |
VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.