---
title: "Poll Authentication Status"
method: GET
path: "/api/authenticate/{attempt_id}"
tags: ["Connect OnlyFans Account"]
---

# Poll Authentication Status

`GET /api/authenticate/{attempt_id}`

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. For `mobile_app` auth, the response includes `mobile_auth_session_deeplink` while the session is pending.

## Response `200`

- object
  - `account` object
    - `id` string
    - `display_name` string
    - `onlyfans_data` object
      - `id` integer
      - `ip` string
      - `csrf` string
      - `name` string
      - `view` string
      - `about` string, nullable
      - `email` string
      - `wsUrl` string
      - `avatar` string, nullable
      - `header` string, nullable
      - `isAuth` boolean
      - `ivFlow` string
      - `upload` object
        - `geoUploadArgs` object
          - `preset` string
          - `isDelay` boolean
          - `additional` object
            - `user` string
          - `needThumbs` boolean
          - `preset_png` string
          - `protected_preset` string
      - `canChat` boolean
      - `hasTags` boolean
      - `website` string, nullable
      - `advBlock` string[]
      - `ivStatus` string, nullable
      - `joinDate` string
      - `lastSeen` string
      - `location` string, nullable
      - `paidFeed` boolean
      - `username` string
      - `wishlist` string, nullable
      - `hasLabels` boolean
      - `ivCountry` string, nullable
      - `canAddCard` boolean
      - `canPinPost` boolean
      - `creditsMax` integer
      - `creditsMin` integer
      - `headerSize` string, nullable
      - `isVerified` boolean
      - `postsCount` integer
      - `audiosCount` integer
      - `hasNewHints` boolean
      - `hasScenario` boolean
      - `isPerformer` boolean
      - `mediasCount` integer
      - `photosCount` integer
      - `videosCount` integer
      - `wsAuthToken` string
      - `avatarThumbs` string, nullable
      - `canLookStory` boolean
      - `hasNewAlerts` boolean
      - `headerThumbs` string, nullable
      - `isOtpEnabled` boolean
      - `ivFailReason` string
      - `newTagsCount` integer
      - `creditBalance` integer
      - `faceIdRegular` unknown[]
        - unknown
      - `isAgeVerified` boolean
      - `isAllowTweets` boolean
      - `isMakePayment` boolean
      - `needIVApprove` boolean
      - `watermarkText` string
      - `canCreateLists` boolean
      - `canPayInternal` boolean
      - `favoritedCount` integer
      - `favoritesCount` integer
      - `hasPinnedPosts` boolean
      - `isEmailChecked` boolean
      - `isWantComments` boolean
      - `canCommentStory` boolean
      - `countPinnedChat` integer
      - `isEmailRequired` boolean
      - `isPaywallPassed` boolean
      - `isRealPerformer` boolean
      - `isVisibleOnline` boolean
      - `showPostsInFeed` boolean
      - `subscribesCount` integer
      - `twitterUsername` string, nullable
      - `canSendChatToAll` boolean
      - `isCreditsEnabled` boolean
      - `pinnedPostsCount` integer
      - `subscribersCount` integer
      - `chatMessagesCount` integer
      - `countPriorityChat` integer
      - `hasNotViewedStory` boolean
      - `hasPurchasedPosts` boolean
      - `hasWatermarkPhoto` boolean
      - `hasWatermarkVideo` boolean
      - `isDeleteInitiated` boolean
      - `isReferrerAllowed` boolean
      - `watermarkPosition` string
      - `archivedPostsCount` integer
      - `isSpotifyConnected` boolean
      - `isTwitterConnected` boolean
      - `notificationsCount` integer
      - `walletFirstRebills` boolean
      - `canConnectOfAccount` boolean
      - `connectedOfAccounts` unknown[]
        - unknown
      - `hasInternalPayments` boolean
      - `hasNewTicketReplies` object
        - `open` boolean
        - `closed` boolean
        - `solved` boolean
      - `isRealCardConnected` boolean
      - `maxPinnedPostsCount` integer
      - `isWalletAutorecharge` boolean
      - `canReceiveChatMessage` boolean
      - `walletAutorechargeMin` integer
      - `ageVerificationSession` object
        - `url` string
        - `status` string
        - `apiFlow` string
        - `expiredAt` string
      - `hasSystemNotifications` boolean
      - `isLegalApprovedAllowed` boolean
      - `isPaymentCardConnected` boolean
      - `ageVerificationRequired` boolean
      - `payoutLegalApproveState` string
      - `walletAutorechargeAmount` integer
      - `canAlternativeWalletTopUp` boolean
      - `enabledImageEditorForChat` boolean
      - `privateArchivedPostsCount` integer
      - `isMarkdownDisabledForAbout` boolean
      - `avatarHeaderConverterUpload` boolean
      - `hasNewChangedPriceSubscriptions` boolean
  - `state` string
  - `progress` string
  - `lastAttempt` object
    - `started_at` string
    - `completed_at` string
    - `success` boolean
    - `error_message` string, nullable
    - `error_code` string, nullable
    - `needs_otp` boolean
    - `otp_phone_ending` string, nullable

---

[API](https://skmtc.net/onlyfansapi/apis/onlyfans-api.md) · [All operations](https://skmtc.net/onlyfansapi/apis/onlyfans-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onlyfansapi/onlyfans-api/revisions/4a99d36f28a3/schema)
