2fans2fans
Help CenterFAQDevelopersMini AppSign upLog in
Connect a creator to your app
Get started
2fans APIMake your first callConnect a creator to your appTesting without a sandboxApply for API access
Concepts
Authentication & API keysApps & approvalAPI categoriesRate limitsErrorsPagination & batch limitsModeration & statusesMoney & unitsActing for a creator: agencies and CRMs
Guides
Sell a drop end-to-endUpload images, audio and videoLinks & Telegram deep linksPost to the For You feedEarnings & balanceBroadcast one drop to many fansCreator sign-up from your platformPay to Chat from your own chatbotBuild your own CRM dashboard
Webhooks
Webhooks & polling
Build with AI
Build with AIAgent prompt
API v1 (OAuth apps)
OAuth appsAPI v1 overviewAPI v1 resource listAPI v1 webhooks
API reference
API reference overview
▶Account
GETGet the account for this API keyGETGet the profile for a creatorNewPATCHUpdate the profile for a creatorNewGETGet the timezone for a creatorPUTUpdate the timezone for a creatorGETGet the subscription tier for a creatorNewPUTUpdate the subscription tier for a creatorNewGETGet the payout balance for a creator
▶Agencies
GETGet creators and personas for your agencyNewPOSTCreate an AI persona for your agencyNewPATCHUpdate an AI persona for your agencyNewDELDelete an AI persona for your agency (retire)NewPOSTReactivate an AI persona for your agencyNewPOSTCreate a creator invite for your agencyNewGETGet invites for your agency (cursor-paginated)NewDELDelete an invite for your agency (revoke)NewDELRemove a creator from your agencyNewGETGet revenue stats for your agencyNewGETGet daily earnings per creator for your agency (cursor-paginated)New
▶Creators you act for
GETGet creators you can act for (cursor-paginated)NewGETGet a creator you can act forNew
▶Vault
GETGet vault items for a creator (page-paginated)POSTUpload a vault item for a creatorDELDelete a vault item for a creatorPATCHUpdate a vault item’s folder for a creatorPATCHUpdate a vault item’s tags for a creatorGETGet vault folders for a creatorPOSTCreate a vault folder for a creatorDELDelete a vault folder for a creatorPOSTStart a video upload for a creator (step 1 of 3)POSTComplete a video upload for a creator (step 3 of 3)POSTCheck video status for a creator (batch)POSTCreate a media upload for a creatorNewPUTUpload a media upload part for a creatorNewPOSTComplete a media upload for a creatorNewGETGet a media upload for a creatorNew
▶Drops
POSTCreate a drop for a creatorGETGet drops for a creator (cursor-paginated)NewGETGet a drop for a creatorNewPATCHUpdate a drop for a creatorNewDELDelete (archive) a drop for a creatorNewPOSTAttach blur previews to a drop for a creatorPOSTCheck drop sales for a creator (batch)GETGet paid orders for a creator (cursor-paginated)New
▶Posts
POSTCreate a post for a creatorGETGet posts for a creator (page-paginated)GETGet a post for a creatorDELDelete a post for a creator
▶Earnings
GETGet the earnings overview for a creatorGETGet the earnings summary for a creatorNewGETGet transactions for a creator (cursor-paginated)NewGETGet paid tips for a creator (cursor-paginated)New
▶Links
GETGet links for a creatorNewPOSTCreate a link for a creatorNew
▶Telegram (advanced)
GETGet Telegram notification settings for a creatorPUTUpdate Telegram notification settings for a creatorPOSTRegister a Telegram notification chat for a creator
▶CRM integrations
POSTCreate a creator account for your appNewGETGet accounts for your app (cursor-paginated)NewGETGet an account for your appNewPOSTCreate an ID-check link for an accountNewGETGet an agency invite as the creatorNewPOSTAccept an agency invite as the creatorNewPOSTDecline an agency invite as the creatorNewGETGet the webhook endpoint for your appNewPUTUpdate the webhook endpoint for your appNewDELDelete the webhook endpoint for your appNewPOSTRotate the webhook signing secret for your appNewPOSTSend a test webhook event for your appNewGETGet details for your appNewGETGet dashboard stats for your appNewGETGet sales for your app (cursor-paginated)NewGETGet connected accounts for your appNew
▶Pay to Chat
GETGet the Pay to Chat settingNewPUTChange the Pay to Chat settingNewPUTReport your bot as an account’s chatbotNewPOSTCheck a private messageNewPOSTReport an ask as sent or failedNewPOSTAsk a fan to pay nowNewGETGet the message and its linksNewPOSTOpen chats yourselfNewPOSTLook up fans’ chat statusNewPOSTEnd a conversationNewGETGet the Accept for listNewPUTReplace the Accept for listNew
▶Payouts
GETGet the payout summary for a creatorNewGETGet payouts for a creator (cursor-paginated)NewGETGet a payout for a creatorNewGETGet payout methods for a creatorNewPOSTCreate a Paxum payout method for a creatorNewPATCHUpdate a payout method for a creatorNewDELDelete a payout method for a creatorNewGETGet the MassPay profile for a creatorNewPOSTCreate the MassPay profile for a creatorNewGETGet MassPay wallet activation for a creatorNewPOSTCreate a payout request for a creatorNewPOSTCancel a payout request for a creatorNew
Resources
ChangelogAPI terms & acceptable use
Developers/Get started/Connect a creator to your app
Get started

Connect a creator to your app

How a third-party app obtains and safely stores a creator’s 2fans API key.

View as MarkdownUpdated Oct 26, 2026
← Previous
Make your first call
Next →
Testing without a sandbox

Questions? support@2fans.io

On this page
  • How a creator connects
  • Validate and store
  • Revocation and suspension

Let your fans show their appreciation.

Become a creatorSign up as a fan

Company

  • Blog
  • About
  • Help & FAQ
  • Availability
  • For Creators
  • Developers

Policy

  • Terms
  • Privacy
  • Refunds
  • DMCA
  • Complaints
  • USC 2257
  • AI Content
  • Cookies

Socials

2fans

© 2026 2fans. All rights reserved.

2fans is operated by KVIQVIEW AB, Reg. No. 559552-3852, Gamla Låssbyvägen 27, Gothenburg, Sweden.

Looking for OAuth?

There is no OAuth flow. The creator generates a key for your app and pastes it into your product — that key is the whole handshake. It never expires and there is nothing to refresh.

How a creator connects#

  1. Apply for API access. Once approved, your app appears in the key picker every creator sees under Vault → API Connect.

  2. Send the creator your connect link:

    https://2fans.io/dashboard/vault?apiConnect=1&app=<your-slug>
    

    It opens the picker with your app preselected — the creator hits Generate and copies the key. The link survives login, so it works for creators who are signed out when they click it.

  3. The creator pastes the key into your app.

Agencies can connect once per managed creator the same way, or generate one key as the agency itself and act for every creator and AI persona they manage under /api/external/v1/creators/{creatorId}/…. See Acting for a creator.

Validate and store#

  • Validate the pasted key immediately with GET /api/external/v1/me and show the username back, so the creator sees they connected the right account.
  • Store the key encrypted at rest. Never log it, never send it to your frontend, never echo it in error messages.
  • One key per creator per app is enough — there is no benefit to minting more.

Revocation and suspension#

  • The creator revokes the key (same screen it was made on): every request returns 401 from that moment, forever. Handle it by asking the creator to reconnect — do not retry in a loop.
  • 2fans suspends your app: every request with an app-bound key returns 403 { "error": …, "code": "app_suspended" }. Keys are not deleted — when the app is reinstated they work again unchanged. See Apps & approval.

Next: Testing without a sandbox or Authentication & API keys.