# Poll Authentication Status (/api-reference/connect-onlyfans-account/poll-authentication-status)



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Poll the status of the authentication process. Eg. if 2FA is required, we will ask you for the code using the `twoFactorPending = true` in the response body.

<APIPage document={"https://app.onlyfansapi.com/scribe-docs/openapi.yaml"} operations={[{"path":"/api/authenticate/{attempt_id}","method":"get"}]} />
