Before you can act on an account, connect it once. The account’s session is validated and stored securely, and you get back an accountDocumentation Index
Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt
Use this file to discover all available pages before exploring further.
id you use from
then on.
Cookie paste
Fastest. Paste a logged-in browser cookie + x-bc.
cURL import
Paste a browser “Copy as cURL” export; we parse the rest.
Email + password
Attempt-based login with SMS / authenticator / email 2FA.
Mobile / QR
The creator approves on their own device — no credentials shared.
Which should I use?
- You already have the creator’s browser session → cookie or cURL. One round trip, no 2FA.
- You have email + password → login. Handles 2FA challenges via polling.
- You don’t want to handle credentials at all → mobile / embed. The creator signs in on a page you host or embed.
The shape of a connect
Cookie and cURL connects complete in a single request and return the account immediately:attempt_id back and poll until it resolves. See
Two-factor & challenges for the states.
Connecting requires the
accounts:write scope, and counts against your
org’s connect-attempt rate limit.