Connect
Create an embeddable connect session
Start a hosted connect session the creator completes in a popup or iframe (no API key on the front end). Returns an embed_url and phone_url. Requires accounts:write.
POST
Create an embeddable connect session
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
Your API key, sent as Authorization: Bearer <key>.
Body
application/json
Response
201 - application/json
Client session created
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 Present once state is completed_success.
Previous
Poll a connect attemptReturns the current state of an in-flight or completed login attempt. When two-factor is required the attempt parks on the matching state and `next_actions` describes what to submit next.
Next
Create an embeddable connect session