Read a profile
When the user authorizes your app, requestprofile:read. This permission lets your app read a profile. Select a linked account the user shared with your app. Install the TypeScript SDK version 4:
linkedAccountId to client.access.profile.get({ linkedAccountId: "conn_example" }). The user must have shared that account through the same authorization. Keep each token with the accounts it can access.
Choose an account action
See the Access reference for request and response fields. If the account lacks a required permission, ask the user to approve it before making the request.
Profile changes and app access
A profile update changes the OnlyFans profile. Removing an account throughDELETE /v3/linked-accounts/{id} removes your app’s access to that account.
Your token can access only the accounts the user shared with it. Manage your app’s client ID, client secret, and team in the dashboard.
Recover from unavailable accounts
Use webhooks to learn when an account is removed or its access changes. Forlinked_account_reconnect_required, ask the account owner to reconnect. If a permission is missing, ask the user to approve it through authorization. See Errors for the next step for each error.