Skip to main content
Start with sample accounts in Sandbox. Once your app works, use Test to check it with a real OnlyFans account you control. Each mode has its own client ID, secret, and accounts.

Start in Sandbox

Run the Quickstart with the Sandbox client ID and secret. Confirm that your app completes sign-in and approval, then shows the sample profile. Sandbox does not contact OnlyFans. Use it to build your screens and check request handling. Common writes, such as sending a message or renaming a Vault list, are kept for 24 hours so later reads show them; see Environments. A Sandbox response does not prove that a change would succeed on a real account.

Validate real account behavior in Test

  1. In the OFAuth dashboard, choose an account your organization controls for use in Test.
  2. Open your integration’s Test settings.
  3. Add the same callback URL used in Sandbox.
  4. Save the Test client ID and secret.
  5. Replace the Sandbox values in your app’s settings with the Test values.
  6. Restart the app.
  7. Sign in as a member of your organization and approve access to the chosen Test account.
  8. Read the profile and check that its name and username match that account.
Your client ID selects Sandbox, Test, or Live. The API hostname stays the same. Accounts and tokens do not move between modes. See Environments for Test limits and settings.

Check recovery before launch

As you add features, check how your app responds when access changes: Use the token reference and error handling guide as you implement these checks. When your app works with the Test account, continue to Go live.