# Validate Email Address

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /validate:
    post:
      summary: Validate Email Address
      deprecated: false
      description: This endpoint allows you to verify emails
      operationId: validate_email_address_validate_post
      tags: []
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailValidationRequest'
            examples: {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailValidationResponse'
          headers: {}
          x-apidog-name: OK
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                required:
                  - detail
                x-apidog-orders:
                  - detail
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Unauthorized
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          headers: {}
          x-apidog-name: Parameter Error
      security:
        - Auth: []
          x-apidog:
            required: true
            schemeGroups:
              - id: XMGOnuKDAEWazwLoUGkI3
                schemeIds:
                  - Auth
            use:
              id: XMGOnuKDAEWazwLoUGkI3
      x-apidog-folder: ''
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1031559/apis/api-20039278-run
components:
  schemas:
    EmailValidationRequest:
      properties:
        email:
          type: string
          title: Email
      type: object
      required:
        - email
      title: EmailValidationRequest
      x-apidog-orders:
        - email
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    EmailValidationResponse:
      properties:
        email:
          type: string
          title: Email
          description: The email address being validated
        is_valid:
          type: boolean
          title: Is Valid
          description: Whether the email is valid
          default: false
        is_disposable:
          type: boolean
          title: Is Disposable
          description: Whether the email is from a disposable provider
          default: false
        is_free_provider:
          type: boolean
          title: Is Free Provider
          description: Whether the email is from a free provider
          default: false
        domain_info:
          type: object
          title: Domain Info
          description: Information about the email domain
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
        mx_records:
          items:
            type: string
          type: array
          title: Mx Records
          description: MX records for the domain
        smtp_check:
          type: boolean
          title: Smtp Check
          description: Whether SMTP check passed
          default: false
        possible_fraud:
          type: boolean
          title: Possible Fraud
          description: Whether the email shows signs of fraud
          default: false
        details:
          type: string
          title: Details
          description: Detailed validation results
          default: ''
        confidence_score:
          type: integer
          title: Confidence Score
          description: Confidence score from 0-100
          default: 0
        task_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Task Id
          description: Task ID for downloading results
      type: object
      required:
        - email
      title: EmailValidationResponse
      x-apidog-orders:
        - email
        - is_valid
        - is_disposable
        - is_free_provider
        - domain_info
        - mx_records
        - smtp_check
        - possible_fraud
        - details
        - confidence_score
        - task_id
      examples:
        - confidence_score: 90
          details: Valid business email
          domain_info:
            domain: example.com
            has_mx_records: true
          email: test@example.com
          is_disposable: false
          is_free_provider: false
          is_valid: true
          mx_records:
            - mx.example.com
          possible_fraud: false
          smtp_check: true
          task_id: uuid-here
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
      x-apidog-orders:
        - detail
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
      x-apidog-orders:
        - loc
        - msg
        - type
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    Auth:
      scheme: bearer
      type: bearer
servers:
  - url: https://wontbounce.com
    description: Prod Env
security:
  - Auth: []
    x-apidog:
      required: true
      schemeGroups:
        - id: XMGOnuKDAEWazwLoUGkI3
          schemeIds:
            - Auth
      use:
        id: XMGOnuKDAEWazwLoUGkI3

```
