Krobar.ai Email API

Endpoints for sending emails via SMTP

GitHub OpenAPI

Operations 2

POST /smtp Send Email #
OPTIONS /smtp Smtp Options #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/krobar-ai:krobar-ai-email-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

krobar-ai-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Krobar AI Email API
  description: '# API Krobar AI


    Welcome to the Krobar AI API! A FastAPI-based service that is the backend for Krobar.ai


    ## Authentication

    **IMPORTANT**: This API requires an API key for all endpoints except for /health. The API key must be provided in the `X-API-Key` header.


    ```bash

    curl -H "X-API-Key: your-api-key" https://api.krobar.ai/endpoint

    ```'
  contact:
    name: API Support
    email: tristan@kromatic.com
  version: 1.0.0
tags:
- name: Email
  description: Endpoints for sending emails via SMTP
paths:
  /smtp:
    post:
      tags:
      - Email
      summary: Send Email
      description: 'Send an email using SMTP configuration.


        This endpoint requires API key authentication.


        Rate limits:

        - krobar.ai addresses: 20 per minute

        - Other addresses: 5 per minute'
      operationId: send_email_smtp_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
    options:
      tags:
      - Email
      summary: Smtp Options
      description: Handle OPTIONS requests for CORS preflight.
      operationId: smtp_options_smtp_options
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EmailResponseStatus:
      type: string
      enum:
      - success
      - error
      title: EmailResponseStatus
    EmailResponse:
      properties:
        status:
          $ref: '#/components/schemas/EmailResponseStatus'
        message:
          type: string
          title: Message
        details:
          additionalProperties: true
          type: object
          title: Details
      type: object
      required:
      - status
      - message
      - details
      title: EmailResponse
    EmailRequest:
      properties:
        from:
          $ref: '#/components/schemas/EmailRecipient'
          description: Sender information
        subject:
          type: string
          maxLength: 200
          title: Subject
        message:
          type: string
          maxLength: 5000
          title: Message
        to:
          items:
            $ref: '#/components/schemas/EmailRecipient'
          type: array
          title: To
          description: List of primary recipients
        cc:
          anyOf:
          - items:
              $ref: '#/components/schemas/EmailRecipient'
            type: array
          - type: 'null'
          title: Cc
          description: List of CC recipients
        bcc:
          anyOf:
          - items:
              $ref: '#/components/schemas/EmailRecipient'
            type: array
          - type: 'null'
          title: Bcc
          description: List of BCC recipients
        reply_to:
          anyOf:
          - items:
              $ref: '#/components/schemas/EmailRecipient'
            type: array
          - type: 'null'
          title: Reply To
          description: List of reply-to email addresses
      type: object
      required:
      - from
      - subject
      - message
      - to
      title: EmailRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    EmailRecipient:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
          description: Recipient's name
        email:
          type: string
          format: email
          title: Email
          description: Recipient's email address
      type: object
      required:
      - email
      title: EmailRecipient
  securitySchemes:
    APIKeyCookie:
      type: apiKey
      in: cookie
      name: access_token
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key