Skip to main content
POST
/
v1
/
connect
/
login
Connect with email + password
curl --request POST \
  --url https://api.onlyfanskit.dev/v1/connect/login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auth_type": "credentials",
  "email": "jsmith@example.com",
  "password": "<string>",
  "label": "<string>",
  "remember_credentials": true
}
'
{
  "attempt_id": "<string>",
  "account_id": "<string>",
  "polling_url": "<string>",
  "verification_page_url": "<string>",
  "phone_url": "<string>",
  "embed_url": "<string>",
  "otp_channel": "<string>",
  "email_mask": "<string>",
  "next_actions": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer <key>.

Body

application/json
auth_type
enum<string>
default:credentials
Available options:
credentials,
mobile_app
email
string<email>

Required for credentials login.

password
string

Required for credentials login.

label
string
Maximum string length: 120
remember_credentials
boolean

Seal credentials to enable later reauthentication.

proxy_country
enum<string>

Egress proxy region for the account's traffic.

Available options:
us,
uk

Response

Attempt started

attempt_id
string
state
enum<string>

Lifecycle state of the attempt.

Available options:
pending,
awaiting_mobile_session,
needs_otp,
needs_app_otp,
needs_email,
needs_face_otp,
wrong_2fa_code_retry,
completed_success,
completed_failed
account_id
string | null

Present once state is completed_success.

polling_url
string | null
verification_page_url
string | null
phone_url
string | null
embed_url
string | null
otp_channel
string | null
email_mask
string | null
next_actions
string[]