> ## 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.

# Trigger the device-verification email

> When an attempt parks on `needs_email`, this triggers OnlyFans to send the device-verification code to the creator's email. Submit the code with `PUT /v1/connect/login/{attemptId}`.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/connect/login/{attemptId}/send-email-to-creator
openapi: 3.1.0
info:
  title: onlyfanskit REST API
  description: >-
    Connect OnlyFans accounts and act on them over HTTP. Authenticate with a
    bearer API key, connect a creator account once, then call any method or
    stream realtime events. Not affiliated with OnlyFans or Fenix International
    Limited.
  version: 1.0.0
servers:
  - url: https://api.onlyfanskit.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Account
    description: Identity, keys, and usage for the calling org.
  - name: Connect
    description: Link OnlyFans accounts via cookie, cURL, email/password, or mobile.
  - name: Accounts
    description: Manage connected accounts.
  - name: SDK
    description: Call any SDK method against a connected account.
  - name: Realtime
    description: Server-Sent Events stream of account activity.
  - name: Webhooks
    description: HTTP callbacks for account events.
paths:
  /v1/connect/login/{attemptId}/send-email-to-creator:
    post:
      tags:
        - Connect
      summary: Trigger the device-verification email
      description: >-
        When an attempt parks on `needs_email`, this triggers OnlyFans to send
        the device-verification code to the creator's email. Submit the code
        with `PUT /v1/connect/login/{attemptId}`.
      operationId: sendCreatorEmail
      parameters:
        - $ref: '#/components/parameters/AttemptId'
      responses:
        '200':
          description: Email triggered
          content:
            application/json:
              schema:
                type: object
                properties:
                  attempt_id:
                    type: string
                  email_sent:
                    type: boolean
components:
  parameters:
    AttemptId:
      name: attemptId
      in: path
      required: true
      schema:
        type: string
      description: Connect attempt id.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key, sent as `Authorization: Bearer <key>`.'

````