{"openapi":"3.1.0","info":{"title":"Tease API","version":"1"},"tags":[{"name":"Fans, Subscribers"}],"servers":[{"url":"https://app.tease.club"}],"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"paths":{"/v1/accounts/{account_id}/followers":{"get":{"summary":"List Followers","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__followers_v1_accounts__account_id__followers_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/subscription-tiers":{"get":{"summary":"List Subscription Tiers","description":"Available on Fansly. A read of what Tease stored for the account; `fresh=true` reads the platform page live first on fansly. A section whose Read is off in the account's Settings answers `fresh=true` with 409 `read_off` (`section`, `settings_url`, no `retry_after`); `GET /v1/accounts/{account_id}` lists such sections in `reads_off`.","operationId":"GET__v1_accounts__id__subscription_tiers_v1_accounts__account_id__subscription_tiers_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":["fansly"],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/subscriptions":{"get":{"summary":"List Subscriptions","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__subscriptions_v1_accounts__account_id__subscriptions_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/top-supporters":{"get":{"summary":"List Top Supporters","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__top_supporters_v1_accounts__account_id__top_supporters_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/active":{"get":{"summary":"List Active Fans","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__fans_active_v1_accounts__account_id__fans_active_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/activity":{"get":{"summary":"List recent subscriber activity","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__fans_activity_v1_accounts__account_id__fans_activity_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/expired":{"get":{"summary":"List Expired Fans","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__fans_expired_v1_accounts__account_id__fans_expired_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/latest":{"get":{"summary":"List Latest Fans","description":"Available on OnlyFans. A read of what Tease stored for the account; `fresh=true` reads the platform page live first on of. A section whose Read is off in the account's Settings answers `fresh=true` with 409 `read_off` (`section`, `settings_url`, no `retry_after`); `GET /v1/accounts/{account_id}` lists such sections in `reads_off`.","operationId":"GET__v1_accounts__id__fans_latest_v1_accounts__account_id__fans_latest_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":["of"],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/top":{"get":{"summary":"List Top Fans","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__fans_top_v1_accounts__account_id__fans_top_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/subscriptions/count":{"get":{"summary":"Get subscription counts","description":"Available on OnlyFans. A read of what Tease stored for the account; `fresh=true` reads the platform page live first on of. A section whose Read is off in the account's Settings answers `fresh=true` with 409 `read_off` (`section`, `settings_url`, no `retry_after`); `GET /v1/accounts/{account_id}` lists such sections in `reads_off`.","operationId":"GET__v1_accounts__id__subscriptions_count_v1_accounts__account_id__subscriptions_count_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":["of"],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/top-supporters/{fan_id}":{"get":{"summary":"Get Top Supporter Breakdown","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__top_supporters__fan_id__v1_accounts__account_id__top_supporters__fan_id__get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/{fan_id}/discount":{"put":{"summary":"Apply discount to subscriber","description":"Available on OnlyFans. Answers 202 with a write id; follow it with `GET /v1/writes/{write_id}`. The key needs **Allow changes**.","operationId":"PUT__v1_accounts__id__fans__fan_id__discount_v1_accounts__account_id__fans__fan_id__discount_put","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"platform_write","x-tease-catalog":"account","tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/{fan_id}/notes":{"get":{"summary":"Get Fan Notes","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__fans__fan_id__notes_v1_accounts__account_id__fans__fan_id__notes_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]},"put":{"summary":"Create/Edit Fan Notes","description":"Available on OnlyFans. Answers 202 with a write id; follow it with `GET /v1/writes/{write_id}`. The key needs **Allow changes**.","operationId":"PUT__v1_accounts__id__fans__fan_id__notes_v1_accounts__account_id__fans__fan_id__notes_put","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"platform_write","x-tease-catalog":"account","tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/fans/{user_id}/subscriptions-history":{"get":{"summary":"Get Subscription History","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__fans__user_id__subscriptions_history_v1_accounts__account_id__fans__user_id__subscriptions_history_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}},"/v1/accounts/{account_id}/top-supporters/{fan_id}/monthly":{"get":{"summary":"Get Top Supporter Monthly Earnings","description":"Available on Fansly. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__top_supporters__fan_id__monthly_v1_accounts__account_id__top_supporters__fan_id__monthly_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Fans, Subscribers"]}}}}
