API Keys
Banking
Connect OnlyFans Account
Mass Messaging
Media Vault
Media Vault Lists
Notifications
Payouts
Post Comments
Post Labels
Posts
Public Profiles
Saved For Later (Messages)
Saved For Later (Posts)
Statistics | Reach
Statistics | Statements
Tracking Links
Transactions
Trial Links
Users
API Keys
Whoami
Get details about the currently used API Key & the relevant Team
GET
/
api
/
whoami
Whoami
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/whoami \
--header 'Authorization: Bearer <token>'
Copy
{
"api_key": {
"name": "Onboarding",
"last_used_at": "2025-05-23T15:51:52.000000Z",
"created_at": "2025-04-20T16:27:45.000000Z"
},
"team": {
"name": "Personal Team",
"slug": "personal-team-123"
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Response
200 - application/json
Success
The response is of type object
.
Whoami
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/whoami \
--header 'Authorization: Bearer <token>'
Copy
{
"api_key": {
"name": "Onboarding",
"last_used_at": "2025-05-23T15:51:52.000000Z",
"created_at": "2025-04-20T16:27:45.000000Z"
},
"team": {
"name": "Personal Team",
"slug": "personal-team-123"
}
}
Assistant
Responses are generated using AI and may contain mistakes.