Oviond Email API

The Email API from Oviond — 13 operation(s) for email.

GitHub OpenAPI

Operations 22

GET /v1/email/provider Get Email Provider #
PUT /v1/email/provider Set Email Provider #
GET /v1/email/domain List Email Domains #
POST /v1/email/domain Add Email Domain #
DELETE /v1/email/domain/{id} Delete Email Domain #
POST /v1/email/domain/{id}/verify Verify Email Domain #
GET /v1/email/smtp Get SMTP Config #
PUT /v1/email/smtp Upsert SMTP Config #
DELETE /v1/email/smtp Delete SMTP Config #
POST /v1/email/smtp/test Test SMTP Connection #
GET /v1/email/senders List Active Senders #
POST /v1/email/senders Create Sender #
GET /v1/email/senders/all List All Senders #
PUT /v1/email/senders/{id} Update Sender #
DELETE /v1/email/senders/{id} Delete Sender #
POST /v1/email/senders/{id}/default Set Default Email Sender #
GET /v1/email/templates List Email Templates #
POST /v1/email/templates Create Email Template #
GET /v1/email/templates/{id} Get Email Template #
PUT /v1/email/templates/{id} Update Email Template #
DELETE /v1/email/templates/{id} Delete Email Template #
POST /v1/email/templates/{id}/default Set Default Email Template #

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/oviond-com:oviond-com-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

oviond-com-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oviond Backend Email API
  version: 1.0.0
  description: Authentication, account management, billing, and media services for Oviond.
  x-logo:
    url: https://app.oviond.com/img/oviond-full-logo.svg
    altText: Oviond
servers:
- url: https://api.oviond.com
  description: Production
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Email
paths:
  /v1/email/provider:
    get:
      tags:
      - Email
      summary: Get Email Provider
      description: Return the active email transport for the account.
      responses:
        '200':
          description: Active email provider
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailProviderResponse'
      operationId: get_email_provider
    put:
      tags:
      - Email
      summary: Set Email Provider
      description: Switch the active email transport. Requires the chosen transport to already be configured.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetEmailProviderRequest'
      responses:
        '200':
          description: Provider updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailProviderResponse'
      operationId: set_email_provider
  /v1/email/domain:
    get:
      tags:
      - Email
      summary: List Email Domains
      description: Return the account's email sending domain (with current verification status), or null.
      responses:
        '200':
          description: Email domain row
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailDomainResponse'
      operationId: list_email_domains
    post:
      tags:
      - Email
      summary: Add Email Domain
      description: Register a sending domain with Resend.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddEmailDomainRequest'
      responses:
        '200':
          description: Domain registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailDomainResponse'
      operationId: add_email_domain
  /v1/email/domain/{id}:
    delete:
      tags:
      - Email
      summary: Delete Email Domain
      description: Remove the domain from Resend and the account.
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Domain removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
      operationId: delete_email_domain
  /v1/email/domain/{id}/verify:
    post:
      tags:
      - Email
      summary: Verify Email Domain
      description: 'Checks the domain. Fetches the current verification status: if the domain is already verified, the stored record is updated to verified and returned immediately. If not, verification is started and the current (unverified) record is returned — the status then updates on the next check or automatically in the background.'
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Returns the domain row. Already verified → updated to verified; otherwise verification was started and the row is returned as-is.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailDomainResponse'
      operationId: verify_email_domain
  /v1/email/smtp:
    get:
      tags:
      - Email
      summary: Get SMTP Config
      description: Return the account SMTP config (password redacted), or null.
      responses:
        '200':
          description: SMTP config row
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailSmtpResponse'
      operationId: get_smtp_config
    put:
      tags:
      - Email
      summary: Upsert SMTP Config
      description: Save or update the SMTP server settings for the account.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertEmailSmtpRequest'
      responses:
        '200':
          description: SMTP config saved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailSmtpResponse'
      operationId: upsert_smtp_config
    delete:
      tags:
      - Email
      summary: Delete SMTP Config
      description: Remove the account SMTP server config.
      responses:
        '200':
          description: SMTP removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
      operationId: delete_smtp_config
  /v1/email/smtp/test:
    post:
      tags:
      - Email
      summary: Test SMTP Connection
      description: Connect to the SMTP server and verify credentials without sending mail.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestEmailSmtpRequest'
      responses:
        '200':
          description: SMTP connection successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
      operationId: test_smtp_connection
  /v1/email/senders:
    get:
      tags:
      - Email
      summary: List Active Senders
      description: Senders matching the active provider, with Oviond default first.
      responses:
        '200':
          description: Sender list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailSendersResponse'
      operationId: list_active_senders
    post:
      tags:
      - Email
      summary: Create Sender
      description: Add a sender tied to either the verified domain or the SMTP config.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEmailSenderRequest'
      responses:
        '200':
          description: Sender created
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - true
                  data:
                    $ref: '#/components/schemas/EmailSender'
                required:
                - success
                - data
      operationId: create_sender
  /v1/email/senders/all:
    get:
      tags:
      - Email
      summary: List All Senders
      description: Every configured sender row regardless of the active provider.
      responses:
        '200':
          description: All senders
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailSendersResponse'
      operationId: list_all_senders
  /v1/email/senders/{id}:
    put:
      tags:
      - Email
      summary: Update Sender
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateEmailSenderRequest'
      responses:
        '200':
          description: Sender updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                    - true
                  data:
                    $ref: '#/components/schemas/EmailSender'
                required:
                - success
                - data
      operationId: update_sender
    delete:
      tags:
      - Email
      summary: Delete Sender
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Sender deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
      operationId: delete_sender
  /v1/email/senders/{id}/default:
    post:
      tags:
      - Email
      summary: Set Default Email Sender
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Default set
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
      operationId: set_default_email_sender
  /v1/email/templates:
    get:
      tags:
      - Email
      summary: List Email Templates
      responses:
        '200':
          description: Templates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailTemplateListResponse'
      operationId: list_email_templates
    post:
      tags:
      - Email
      summary: Create Email Template
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEmailTemplateRequest'
      responses:
        '200':
          description: Template created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailTemplateResponse'
      operationId: create_email_template
  /v1/email/templates/{id}:
    get:
      tags:
      - Email
      summary: Get Email Template
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Template
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailTemplateResponse'
      operationId: get_email_template
    put:
      tags:
      - Email
      summary: Update Email Template
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateEmailTemplateRequest'
      responses:
        '200':
          description: Template updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailTemplateResponse'
      operationId: update_email_template
    delete:
      tags:
      - Email
      summary: Delete Email Template
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Template deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
      operationId: delete_email_template
  /v1/email/templates/{id}/default:
    post:
      tags:
      - Email
      summary: Set Default Email Template
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Default set
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
      operationId: set_default_email_template
components:
  schemas:
    EmailTemplateResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          $ref: '#/components/schemas/EmailTemplate'
      required:
      - success
      - data
    UpsertEmailSmtpRequest:
      type: object
      properties:
        host:
          type: string
          minLength: 1
        port:
          type: integer
          minimum: 1
          maximum: 65535
        username:
          type: string
          minLength: 1
        password:
          type: string
          minLength: 1
        secure:
          type: boolean
          default: true
        from_email:
          type: string
          format: email
        from_name:
          type:
          - string
          - 'null'
      required:
      - host
      - port
      - username
      - password
      - from_email
    EmailProvider:
      type: string
      enum:
      - oviond
      - resend
      - smtp
    EmailSmtpResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          $ref: '#/components/schemas/EmailSmtpConfig'
      required:
      - success
      - data
    EmailDomain:
      type:
      - object
      - 'null'
      properties:
        id:
          type: string
        account_id:
          type: string
        resend_id:
          type: string
        name:
          type: string
        status:
          type: string
          enum:
          - not_started
          - pending
          - verified
          - failed
        records:
          type: array
          items:
            type: object
            additionalProperties: {}
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - id
      - account_id
      - resend_id
      - name
      - status
      - records
      - created_at
      - updated_at
    TestEmailSmtpRequest:
      type: object
      properties:
        host:
          type: string
          minLength: 1
        port:
          type: integer
          minimum: 1
          maximum: 65535
        username:
          type: string
          minLength: 1
        password:
          type: string
          minLength: 1
        secure:
          type: boolean
          default: true
        from_email:
          type: string
          format: email
        from_name:
          type:
          - string
          - 'null'
      required:
      - host
      - port
      - username
      - password
      - from_email
    SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
      required:
      - success
    EmailSendersResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          type: object
          properties:
            provider:
              $ref: '#/components/schemas/EmailProvider'
            senders:
              type: array
              items:
                $ref: '#/components/schemas/EmailSender'
          required:
          - provider
          - senders
      required:
      - success
      - data
    EmailDomainResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          $ref: '#/components/schemas/EmailDomain'
      required:
      - success
      - data
    EmailTemplateListResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          type: array
          items:
            $ref: '#/components/schemas/EmailTemplate'
      required:
      - success
      - data
    CreateEmailTemplateRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
        subject:
          type: string
          minLength: 1
        message:
          type: string
          minLength: 1
        button_text:
          type:
          - string
          - 'null'
        button_top:
          type: boolean
          default: false
      required:
      - name
      - subject
      - message
    EmailSmtpConfig:
      type:
      - object
      - 'null'
      properties:
        id:
          type: string
        account_id:
          type: string
        host:
          type: string
        port:
          type: integer
        username:
          type: string
        secure:
          type: boolean
        from_email:
          type: string
        from_name:
          type:
          - string
          - 'null'
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - id
      - account_id
      - host
      - port
      - username
      - secure
      - from_email
      - from_name
      - created_at
      - updated_at
    EmailSender:
      type: object
      properties:
        id:
          type: string
        account_id:
          type: string
        source:
          $ref: '#/components/schemas/EmailSenderSource'
        nickname:
          type:
          - string
          - 'null'
        from_name:
          type: string
        from_email:
          type: string
        reply_to:
          type:
          - string
          - 'null'
        address:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        country:
          type:
          - string
          - 'null'
        is_default:
          type: boolean
        is_published:
          type: boolean
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - id
      - source
      - from_name
      - from_email
    AddEmailDomainRequest:
      type: object
      properties:
        domain:
          type: string
          minLength: 1
          example: mail.acme.com
      required:
      - domain
    SetEmailProviderRequest:
      type: object
      properties:
        provider:
          $ref: '#/components/schemas/EmailProvider'
      required:
      - provider
    EmailTemplate:
      type: object
      properties:
        id:
          type: string
        account_id:
          type: string
        name:
          type: string
        subject:
          type: string
        message:
          type: string
        button_text:
          type:
          - string
          - 'null'
        button_top:
          type: boolean
        is_default:
          type: boolean
        is_published:
          type: boolean
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - id
      - account_id
      - name
      - subject
      - message
      - button_top
      - is_default
      - is_published
      - created_at
      - updated_at
    EmailProviderResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
          - true
        data:
          type: object
          properties:
            provider:
              $ref: '#/components/schemas/EmailProvider'
          required:
          - provider
      required:
      - success
      - data
    UpdateEmailTemplateRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
        subject:
          type: string
          minLength: 1
        message:
          type: string
          minLength: 1
        button_text:
          type:
          - string
          - 'null'
        button_top:
          type: boolean
          default: false
    UpdateEmailSenderRequest:
      type: object
      properties:
        source:
          type: string
          enum:
          - resend
          - smtp
        nickname:
          type:
          - string
          - 'null'
        from_name:
          type: string
          minLength: 1
        from_email:
          type: string
          format: email
        reply_to:
          type:
          - string
          - 'null'
          format: email
        address:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        country:
          type:
          - string
          - 'null'
    CreateEmailSenderRequest:
      type: object
      properties:
        source:
          type: string
          enum:
          - resend
          - smtp
        nickname:
          type:
          - string
          - 'null'
        from_name:
          type: string
          minLength: 1
        from_email:
          type: string
          format: email
        reply_to:
          type:
          - string
          - 'null'
          format: email
        address:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        country:
          type:
          - string
          - 'null'
      required:
      - source
      - from_name
      - from_email
    EmailSenderSource:
      type: string
      enum:
      - oviond
      - resend
      - smtp
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: Oviond API key (prefix `oviond_`) sent as a Bearer token — the credential for REST/programmatic and headless integrations. Manage keys in Settings → API Keys. API keys do NOT authenticate the MCP endpoint (/mcp), which uses OAuth 2.1 + PKCE.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase-issued JWT used by the Oviond web app session. External API consumers should authenticate with an Oviond API key (ApiKeyAuth) instead.