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

# Send KYC email OTP



## OpenAPI

````yaml /openapi.yaml post /api/integrations/breb/kyc/otp/send
openapi: 3.1.0
info:
  title: COP By Integrations API
  version: 0.1.0
  description: |
    Non-custodial Celo API for partners. Prepare swaps and BRE-B COP payouts;
    the user signs from their wallet. Confirm with the transaction hash.
servers:
  - url: http://localhost:3000
    description: Local Next.js app
  - url: https://app.copby.co
    description: Production (replace if your origin differs)
security:
  - bearerAuth: []
tags:
  - name: BRE-B
    description: Quote, KYC, and COP payouts via Bridge Bre-B
  - name: Swaps
    description: Prepare and confirm onchain COPm swaps
  - name: Webhooks
    description: Bridge callbacks. Not authenticated with a partner key.
paths:
  /api/integrations/breb/kyc/otp/send:
    post:
      tags:
        - BRE-B
      summary: Send KYC email OTP
      operationId: sendBrebKycOtp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - userAddress
                - email
              properties:
                userAddress:
                  $ref: '#/components/schemas/Address'
                email:
                  type: string
                  format: email
            example:
              userAddress: '0x2222222222222222222222222222222222222222'
              email: ana@example.com
      responses:
        '200':
          description: OTP sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: sent
                  expiresAt:
                    type: string
                    format: date-time
                  debugCode:
                    type: string
                    description: Present only when BRIDGE_MOCK is on. Default 123456.
                    example: '123456'
        '400':
          $ref: '#/components/responses/BrebError'
        '429':
          $ref: '#/components/responses/BrebError'
components:
  schemas:
    Address:
      type: string
      pattern: ^0x[a-fA-F0-9]{40}$
      example: '0x2222222222222222222222222222222222222222'
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        errorCode:
          type: string
          enum:
            - below_minimum
            - needs_kyc
            - destination_mismatch
            - requote
            - tx_hash_reused
            - otp_invalid
            - mercado_cerrado
            - invalid_webhook_signature
  responses:
    BrebError:
      description: API error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorBody'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Integration API key. Send as `Bearer copby_live_pk_…`.

````