GET
/
api
/
whoami
curl --request GET \
  --url https://app.onlyfansapi.com/api/whoami \
  --header 'Authorization: Bearer <token>'
{
  "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

Authorization
string
header
required

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.