> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useduro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send a portal sign-in code

> Emails a one-time code to the customer. Pass `email`, or a `token` from a portal link (which pre-fills the email). Set `resend: true` to re-send within the cooldown.



## OpenAPI

````yaml /openapi.json post /portal/email/start
openapi: 3.1.0
info:
  title: Duro API
  version: 1.0.0
  description: >-
    Recovery-first subscription billing. Authenticate with a secret key
    (sk_test_ / sk_live_) as a bearer token. Amounts are in integer minor units
    (kobo).
servers:
  - url: https://api.useduro.com
    description: Production (live)
  - url: https://sandbox.useduro.com
    description: Sandbox (test)
security:
  - bearerAuth: []
tags:
  - name: Plans
  - name: Promo Codes
  - name: Payment Links
  - name: Customers
  - name: Transactions
  - name: Subscriptions
  - name: Invoices
  - name: Recovery
  - name: Settings
  - name: Analytics
  - name: Checkout
  - name: Events
  - name: OAuth
  - name: Customer Checkout
  - name: Customer Identity
  - name: Customer Portal
  - name: Customer Portal Account
paths:
  /portal/email/start:
    post:
      tags:
        - Customer Portal Account
      summary: Send a portal sign-in code
      description: >-
        Emails a one-time code to the customer. Pass `email`, or a `token` from
        a portal link (which pre-fills the email). Set `resend: true` to re-send
        within the cooldown.
      operationId: portalEmailStart
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: Encrypted portal link token; pre-fills the email.
                email:
                  type: string
                  format: email
                resend:
                  type: boolean
      responses:
        '200':
          description: Code sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  email:
                    type: string
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A secret key (sk_test_… / sk_live_…), OAuth token, or identity token.

````