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

# Verify Email Domain

> Checks whether the email domain DNS records have been configured correctly.
If verification succeeds, the domain is marked as verified and email sending
is enabled.
Requires `integrations:edit` permission.




## OpenAPI

````yaml POST /api/integrations/email/verify
openapi: 3.1.0
info:
  title: Naturalead Integrations API
  version: 1.0.0
  description: >
    API for managing channel integrations (Email, Telegram, WhatsApp) in the
    Naturalead platform.

    All endpoints require API key authentication and are scoped to the caller's
    account.
servers:
  - url: '{baseUrl}'
    description: API server
    variables:
      baseUrl:
        default: http://localhost:3001
security:
  - BearerAuth: []
tags:
  - name: Integrations
    description: Channel integration configuration and verification
paths:
  /api/integrations/email/verify:
    post:
      tags:
        - Integrations
      summary: Verify email domain
      description: >
        Checks whether the email domain DNS records have been configured
        correctly.

        If verification succeeds, the domain is marked as verified and email
        sending

        is enabled.

        Requires `integrations:edit` permission.
      operationId: verifyEmailDomain
      responses:
        '200':
          description: Verification result
          content:
            application/json:
              schema:
                type: object
                properties:
                  verified:
                    type: boolean
                    description: Whether the domain passed verification
                  records:
                    type: array
                    items:
                      type: object
                    description: Current DNS records (returned when not yet verified)
                  message:
                    type: string
                    description: Human-readable status message
                required:
                  - verified
                  - message
        '400':
          description: No email domain configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
        - error
  responses:
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token using an API key (format nl_live_* or nl_test_*)

````