Connect OnlyFans Account

Submit the 2FA code, or Selfie Verification status, for the authentication process.

put/api/authenticate/{attempt_id}

Request

  • Base URL
    https://app.onlyfansapi.com
  • URL
    https://app.onlyfansapi.com/api/authenticate/{attempt_id}
  • Auth
    HTTP bearer

Request body

codestring

The 2FA code you received on your phone. Must be empty if selfie_verification_completed is true.

selfie_verification_completedboolean

This field is required when <code>code</code> is not present.

Example request

{
  "code": "12345"
}

Response

messagestring

Example response

{
  "message": "OTP submitted successfully"
}

Changes

    • info

      added the new optional request property

    • info

      request body became optional

    • info

      the request property became optional