PUT
/
api
/
authenticate
/
{attempt_id}
curl --request PUT \
  --url https://app.onlyfansapi.com/api/authenticate/{attempt_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "code": "12345"
}'
{
  "message": "OTP submitted successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

attempt_id
string
required

The attempt ID of the authentication process

Body

application/json

Response

200 - application/json

The response is of type object.