Kickbox Verification API

Real-time email verification.

OpenAPI Specification

kickbox-verification-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Kickbox Email Account Verification API
  description: 'REST API for verifying the deliverability of email addresses with Kickbox.

    Endpoint paths and authentication are derived from the official Kickbox PHP

    SDK at https://github.com/kickboxio/kickbox-php (see HttpClient.php and

    Api/Kickbox.php), which is the canonical client for the production API.

    '
  version: 2.0.0
  contact:
    name: Kickbox
    url: https://kickbox.com/
    email: help@kickbox.com
servers:
- url: https://api.kickbox.com
  description: Kickbox production API.
- url: https://open.kickbox.io
  description: Kickbox Open (disposable lookup) API.
security:
- TokenAuth: []
tags:
- name: Verification
  description: Real-time email verification.
paths:
  /v2/verify:
    get:
      tags:
      - Verification
      summary: Verify a single email address
      operationId: verifyEmail
      parameters:
      - name: email
        in: query
        required: true
        description: The email address to verify.
        schema:
          type: string
          format: email
      - name: timeout
        in: query
        required: false
        description: Verification timeout in milliseconds.
        schema:
          type: integer
          minimum: 1000
          maximum: 30000
          default: 6000
      responses:
        '200':
          description: Verification result.
          headers:
            X-Kickbox-Balance:
              description: Remaining verification credits.
              schema:
                type: integer
            X-Kickbox-Response-Time:
              description: Backend processing time in milliseconds.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerificationResult'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    VerificationResult:
      type: object
      properties:
        result:
          type: string
          enum:
          - deliverable
          - undeliverable
          - risky
          - unknown
        reason:
          type: string
          description: Reason code such as accepted_email, rejected_email, invalid_smtp, etc.
        role:
          type: boolean
        free:
          type: boolean
        disposable:
          type: boolean
        accept_all:
          type: boolean
        did_you_mean:
          type: string
        sendex:
          type: number
          minimum: 0
          maximum: 1
        email:
          type: string
        user:
          type: string
        domain:
          type: string
        success:
          type: boolean
        message:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
              message:
                type: string
  securitySchemes:
    TokenAuth:
      type: http
      scheme: bearer
      bearerFormat: token
      description: 'Kickbox API key sent in the Authorization header in the form

        `Authorization: token YOUR_API_KEY`.

        '