Skip to main content
GET
/
v1
/
connect
/
login
/
{attemptId}
Poll a connect attempt
curl --request GET \
  --url https://api.onlyfanskit.dev/v1/connect/login/{attemptId} \
  --header 'Authorization: Bearer <token>'
{
  "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>.

Path Parameters

attemptId
string
required

Connect attempt id.

Response

Attempt state

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[]