POST
https://app.onlyfansapi.com
/
api
/
authenticate
curl --request POST \
  --url https://app.onlyfansapi.com/api/authenticate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "valentine.krajcik@example.net",
  "password": "QJNF:t>+",
  "proxyCountry": "de"
}'
{
  "attempt_id": "auth_XXXXXXXXXXXXXXXXXXXXX",
  "message": "Authentication process started. Query the polling_url to check the progress.",
  "polling_url": "https://app.onlyfansapi.com/api/authenticate/auth_XXXXXXXXXXXXXXXXXXXXX"
}

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

Body

application/json

Response

200 - application/json

The response is of type object.