TeaseDocs
Developers

Responses and errors

The answer every call returns, pages, live reads, writes and error codes.

The answer

Every successful call returns the same envelope:

{
  "data": …,
  "pagination": { "next_cursor": "…" },
  "meta": { "freshness": …, "usage": { "platform_calls": 0 }, "rate_limit": … }
}

meta.freshness says when Tease last read what you got; meta.usage.platform_calls counts the calls this request made to the platform.

Pages

Lists take limit (default 200, at most 1000) and cursor. Pass pagination.next_cursor as cursor for the next page; null means the last page. A cursor works for 24 hours with the same call (422 cursor_expired after).

Stored and live reads

A read answers from what Tease already stored. An OnlyFans list Tease does not collect answers an empty page with meta.freshness.list_state: "not_collected", not as if there were none. A list whose Read is turned off in the page's Settings (posts, for one) says meta.freshness.list_state: "read_off": what it holds was read before that. Add fresh=true to read the platform first; wait (seconds, at most 30, default 10) is how long the call waits for it.

If the read is not done in time, the API answers 202 with data.job_id and Retry-After; poll GET /v1/jobs/{job_id} until it returns the result. A live read is a counted call.

Writes

A change on the platform (send a message, create a link, hide a chat…) needs a key with Allow changes and an Idempotency-Key header (1–128 visible characters, 422 idempotency_key_required without it). Repeating the same write with the same key returns the same write; a different write under a used key is 422 idempotency_key_reused.

A write to Tease itself (create a smart link, a postback, a landing design…) takes the same header and keeps it a day: send the same Idempotency-Key again — after a timeout, say — and it answers the first call's response and creates nothing twice; while the first call still runs it is 409 write_in_progress, and a different body under that key is 422 idempotency_key_reused. Without the header each call is its own write.

A platform write answers 202 with data.write_id while it runs and 200 once done; poll GET /v1/writes/{write_id} and read state and result. Instead of polling, give the key a webhook: PUT /v1/webhook with {"url": "https://…"} answers its signing secret once, and every finished write of that key is then one POST {"event": "write.finished", "state": <the state it announces>, "data": <the write as GET /v1/writes/{write_id} shows it now>} to that URL; a write that ended unknown and later got its result is announced again. It is signed in the X-Tease-Signature header t=<unix>,v1=<HMAC-SHA256 of "<unix>.<body>">. Writes queued while the key has a webhook are announced; setting the URL again sends calls still owed to the new URL with the new secret, and DELETE /v1/webhook stops it and cancels them. Texts that use a term blocked in the account's Blocklist are refused with 422 banned_words.

Errors

Every refusal has the same body:

{ "error": { "code": "scope_missing", "message": "…", "reason": "…" } }

A refusal that comes with a Retry-After header has the same seconds in the body as error.retry_after.

This is the body of every /v1 call. A panel route a key may call (under /api/admin, the ones MCP tools use) answers in the panel's body, { "detail": { "code": "…", "message": "…" } }, with the same codes. Through MCP every refusal has the /v1 body, { "error": { "code", "message", "hint" } }: call_operation and call_write_operation move a panel route's detail under error, and its 422 is invalid_params with fields. A path no call serves is 404 not_found, whatever the plan or the key's access.

StatuscodeMeaning
401invalid_keyNo key, or the key is wrong or revoked.
402no_tokensThe wallet has no tokens for this paid call.
403plan_has_no_apiThe plan has no API: Tease Club and Tease Pro have it. reason, plan, until and upgrade_url say why and where to change it.
403email_not_confirmedThe plan's Free or trial tokens wait for the owner to confirm their email. A paid plan and purchased tokens never wait.
403broadcasts_not_in_planMass messages are not part of the trial: Tease Club and Tease Pro have them.
403public_reads_not_in_planReading public social accounts is not part of the trial: Tease Club and Tease Pro have it. Comparing only your own accounts works.
403full_media_not_in_planFull-size media files (quality=full) are not part of the trial: Tease Club and Tease Pro have them.
403scope_missingOutside the key's access; reason names what is missing.
404not_found, object_not_foundNo such call, or Tease has not stored this object.
404endpoint_not_availableThe call does not exist on this account's platform.
404media_not_foundThe media is not in the account's vault, or OnlyFans answered that it is gone; asked again a day later.
409endpoint_not_enabledThis call is not served for this list yet; try fresh=true.
409account_not_readyThe account's first collection has not started; live reads follow it.
409read_offfresh=true on a section whose Read is off in the account's Settings; no retry_after. The body names the section and the settings_url that opens the page's Settings: turn its Read on there, then call again. GET /v1/accounts/{account_id} lists such sections in reads_off.
409operation_not_enabled, account_writes_disabledThe write is not available, or writes are off for this account; the body has write_id.
422invalid_params, invalid_bodyA parameter or the body is wrong; fields lists which parameters.
413body_too_largeThe request body is over the size the call takes.
409write_in_progressThe same write with this Idempotency-Key is still running; repeat it in a few seconds.
422idempotency_key_reused, idempotency_key_invalidThe key already names a different write, or it is not 1–128 visible characters.
422cursor_expired, cursor_invalidThe cursor is older than 24 hours or not from this call.
422target_unreadableA public read's target no reader can read while they read others; not asked again for an hour, fresh=true asks now.
422param_not_supportedThe parameter does not apply here, e.g. wait without fresh=true.
423account_haltedThe account must sign in again, or the platform halted it.
429rate_limited, daily_limitThe plan's minute or the day's cap is reached; see Retry-After.
429platform_throttledThe platform asked to slow down; see Retry-After.
429media_read_limitA page's full-size reads of the day are used: 100 files of an OnlyFans or a Fansly page, or 2 GiB of either, the panel's views included; see Retry-After.
503media_cache_fullOur media store is short of disk: no new full-size read starts now; retry after Retry-After. Copies already held are served.
503media_read_failedThis full-size file's read failed or rests; retry after retry_after. Without retry_after the platform refused the read itself and a new call does not help. A file asked from OnlyFans within the day is not asked again: a new call follows that read, so after a failed download the file is read the next day.
503platform_error, engine_unavailable, job_expired, price_unavailable, database_busyThe platform or the price could not be read now; retry later, after retry_after when the body has it. Tease already asked again for a minute when the platform failed a read on its side.
500internal_errorSomething failed on our side; retry later.

On this page