Volanea Domains API

Sending domains, DNS records, and verification.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

GET /v1/domains List domains #
POST /v1/domains Add a domain #
GET /v1/domains/{id} Get a domain #
PATCH /v1/domains/{id} Scope a domain to an inbox #
DELETE /v1/domains/{id} Remove a domain #
POST /v1/domains/{id}/verify Check DNS and verify #

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/volanea-com:volanea-com-domains-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

volanea-com-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Volanea Domains API
  version: 0.1.0
  description: 'The open email platform: transactional sending, marketing campaigns, and lifecycle automation over one contact graph.


    **Authentication** — pass an API key as `Authorization: Bearer `. Three key types exist per project:

    `sk_…` (secret, full access — server-side only), `sk_test_…` (test — full access, renders and logs but never delivers),

    and `pk_…` (public — only accepted by `POST /v1/events`, safe to ship in client code).


    **Response envelope** — every 2xx body is `{ "success": true, "data": … }`. The schema shown for each operation below

    describes what goes in `data`, not the whole body. Cursor-paginated lists put the array in `data` and `nextCursor`

    beside it: `{ "success": true, "data": [...], "nextCursor": "1730000000000.6a6dd07e6afeb87b46b08bca" }`.

    `nextCursor` is an opaque string — send it back as `cursor` unchanged, and never parse or synthesise one.


    **Errors** — every error is `{ "success": false, "error": "", "code": "" }` with an

    appropriate HTTP status. Branch on `code`, never on the wording of `error`. Validation failures (422) add a `details`

    array naming each failing field by its dotted path.


    **Unknown request-body fields are rejected** — a body carrying a field this spec does not declare is a 422

    `validation_error`, with one `details` entry per unknown key (`code: "unrecognized_keys"`, `path` naming the key).

    Until 2026-08 they were silently dropped, which is how `reply_to` for `replyTo`, a `cc` carried over from another

    provider, and a misspelled segment `operator` all shipped to production looking like they had worked: the request

    answered 200 and the behaviour the field was meant to buy simply never happened. Sending an unknown field now costs

    you a failed request instead of a silent one. Query strings are the exception and stay permissive — a URL routinely

    carries analytics and cache-busting params that have nothing to do with the endpoint.


    **Idempotency** — `POST /v1/send` and `POST /v1/send/batch` accept an `Idempotency-Key` header. A repeated key with the

    same body replays the stored response, marked BOTH by the `X-Idempotent-Replay: true` response header and by

    `"replay": true` inside `data`. Read either; they are set together. (The header was promised here for years and never

    actually sent, so callers wrote against the body field — both are now part of the contract and neither will be

    removed.) A repeated key with a *different* body is a 409 `idempotency_key_reused` — the request is neither sent nor

    replayed, because silently returning the first response would discard the new message.


    **Template variables** — `{{name}}` placeholders are substituted in subjects, bodies, and preheaders wherever this

    spec says so. A placeholder may carry a fallback: `{{firstName | "there"}}` renders `there` when `firstName` is

    missing, null, or the empty string. The quotes are required and must be double quotes. Without a fallback a missing

    variable renders as nothing at all, which is how "Hi ," reaches inboxes. Dotted paths (`{{data.plan}}`) resolve

    into the contact''s custom `data`; per-call `variables` win over contact fields of the same name.


    **Pagination** — list endpoints return `{ data, nextCursor }`; pass `nextCursor` back as `cursor` until it is `null`.'
servers:
- url: https://api.volanea.com
  description: Production
- url: http://localhost:4100
  description: Local development
security:
- bearerAuth: []
tags:
- name: Domains
  description: Sending domains, DNS records, and verification.
paths:
  /v1/domains:
    get:
      tags:
      - Domains
      operationId: listDomains
      summary: List domains
      description: 'Every sending domain in the project, each with its verification state and the DNS records to publish.


        Unpaginated. Only domains reaching `verified` can send; until then a send from an address on them is refused with 403.'
      responses:
        '200':
          description: All domains with their DNS records.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Domain'
                required:
                - data
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      tags:
      - Domains
      operationId: addDomain
      summary: Add a domain
      description: 'Registers a sending domain and returns the DNS records to install. On Amazon SES that is four records — a DKIM TXT at `._domainkey.`, an MX and an SPF TXT on the `bounce.` MAIL FROM subdomain, and a DMARC TXT. Idempotent: re-adding a domain returns the records already in play rather than issuing a new DKIM key, which would stop a live domain from signing.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                domain:
                  type: string
                  description: e.g. `mail.example.com`.
                inboxId:
                  type: string
                  description: 'Scope the domain to one inbox: only it may add sending identities on the domain.'
              required:
              - domain
      responses:
        '200':
          description: The domain was already added; its existing DNS records are returned unchanged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '201':
          description: The domain with its DNS records.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not included in this project's plan (code `plan_limit`); `details.requiredPlan` names the cheapest plan that includes it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request validation failed (code `validation_error`, 422).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: The mail provider rejected the registration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/domains/{id}:
    get:
      tags:
      - Domains
      operationId: getDomain
      summary: Get a domain
      description: 'One domain: its verification state and the full DNS record set.


        This is the endpoint to poll while a new domain propagates. On Amazon SES the status flips to `verified` once SES accepts the DKIM records; SES re-checks every five minutes for up to 72 hours and then marks the domain `failed`, so a domain stuck in `pending` past that window needs its records re-published, not more waiting.'
      parameters:
      - name: id
        in: path
        required: true
        description: Domain id.
        schema:
          type: string
      responses:
        '200':
          description: The domain with its DNS records.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request validation failed (code `validation_error`, 422).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      tags:
      - Domains
      operationId: updateDomain
      summary: Scope a domain to an inbox
      description: Sets or clears the inbox the domain is scoped to. While scoped, only that inbox may add sending identities on it — a platform that gives each of its customers an inbox scopes each customer's domain to that inbox. Refused with `domain_in_use` while another inbox already sends as an address on the domain. Project key only.
      parameters:
      - name: id
        in: path
        required: true
        description: Domain id.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                inboxId:
                  type:
                  - string
                  - 'null'
              required:
              - inboxId
      responses:
        '200':
          description: The domain with its new scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Another inbox sends as an address on this domain (`domain_in_use`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request validation failed (code `validation_error`, 422).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Domains
      operationId: deleteDomain
      summary: Remove a domain
      description: 'Removes the domain from this project.


        The provider identity is torn down **only if no other project still uses the same domain** — SES identities are account-global, so an unconditional delete would revoke another project''s DKIM signing along with yours. Domains that were adopted rather than provisioned by Volanea are never torn down at the provider.


        Sends from addresses on this domain start failing as soon as the record is gone. Mail already queued is not recalled.'
      parameters:
      - name: id
        in: path
        required: true
        description: Domain id.
        schema:
          type: string
      responses:
        '200':
          description: Deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                required:
                - success
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request validation failed (code `validation_error`, 422).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/domains/{id}/verify:
    post:
      tags:
      - Domains
      operationId: verifyDomain
      summary: Check DNS and verify
      description: Re-checks the domain now instead of waiting for the 5-minute poller, and updates each record's status. On Amazon SES the domain becomes `verified` once SES itself accepts the DKIM record; elsewhere once ownership + SPF pass.
      parameters:
      - name: id
        in: path
        required: true
        description: Domain id.
        schema:
          type: string
      responses:
        '200':
          description: Updated statuses.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request validation failed (code `validation_error`, 422).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/domains/{id}/setup-link:
    get:
      tags:
      - Domains
      operationId: getDomainSetupLink
      summary: One-click DNS setup link
      description: 'A Domain Connect link: the domain owner opens it, approves at their DNS provider, and the records are written for them. When the provider doesn''t support it (or it isn''t configured here), `supported` is false and `records` are the ones to add by hand. `service=inbound` gives the MX record for an inbox subdomain.'
      parameters:
      - name: id
        in: path
        required: true
        description: Domain id.
        schema:
          type: string
      - name: service
        in: query
        required: false
        schema:
          type: string
          enum:
          - sending
          - inbound
          default: sending
      - name: redirectUri
        in: query
        required: false
        schema:
          type: string
          format: uri
      responses:
        '200':
          description: Link, or manual records.
          content:
            application/json:
              schema:
                type: object
                properties:
                  supported:
                    type: boolean
                  url:
                    type: string
                    format: uri
                  provider:
                    type: string
                  reason:
                    type: string
                  records:
                    type: array
                    items:
                      type: object
                required:
                - supported
                - records
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request validation failed (code `validation_error`, 422).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      description: The error envelope returned by every non-2xx response. `error` is a human-readable string — branch on `code`, not on the wording of `error`, which may be reworded at any time.
      properties:
        success:
          type: boolean
          enum:
          - false
        error:
          type: string
          description: Human-readable explanation. For `validation_error` it names the failing field.
        code:
          type: string
          description: Machine-readable code, e.g. `unauthorized`, `not_found`, `validation_error`, `invalid_state`, `idempotency_key_reused`, `ambiguous_api_key`, `send_failed`, `plan_limit`.
        details:
          type:
          - array
          - object
          description: 'Present on `validation_error` (one entry per failing field) and on `send_failed`, where the single entry names the specific cause. `code` is the part to branch on — see the `details` note on `POST /v1/send`. On `plan_limit` it is an object instead: `{ feature, plan, requiredPlan, limit?, used? }`, where `requiredPlan` is the cheapest plan that includes the feature (`null` when none does — contact support).'
          items:
            type: object
            properties:
              path:
                type: string
                description: Dotted path into the request body, e.g. "messages.2.to". Empty string when the failure is not attributable to one field — which is the case for every `send_failed` entry.
              message:
                type: string
              code:
                type: string
                description: The underlying validator's code (`invalid_string`, `unrecognized_keys`, `invalid_cursor`, …), or for `send_failed` the specific cause (`template_not_found`, …).
            required:
            - path
            - message
            - code
      required:
      - success
      - error
      - code
    DnsRecord:
      type: object
      properties:
        purpose:
          type: string
          enum:
          - ownership
          - dkim
          - spf
          - dmarc
          - tracking
          - mailfrom
        type:
          type: string
          enum:
          - TXT
          - CNAME
          - MX
        host:
          type: string
        value:
          type: string
        status:
          type: string
          enum:
          - pending
          - verified
          - failed
          - not_applicable
      required:
      - purpose
      - type
      - host
      - value
      - status
    Domain:
      type: object
      description: A sending domain. On Amazon SES, `status` becomes `verified` once SES accepts the DKIM TXT record — publish all four records and poll this endpoint (or `POST /v1/domains/{id}/verify`) until then; SES is re-checked every 5 minutes for up to 72 hours, after which the domain is marked `failed`. On other providers `status` becomes `verified` once the ownership and SPF records pass.
      properties:
        domainId:
          type: string
        projectId:
          type: string
        domain:
          type: string
        status:
          type: string
          enum:
          - pending
          - verified
          - failed
        dkimStatus:
          type: string
          enum:
          - pending
          - verified
          - failed
          - not_applicable
        spfStatus:
          type: string
          enum:
          - pending
          - verified
          - failed
        dmarcStatus:
          type: string
          enum:
          - pending
          - verified
          - failed
        trackingStatus:
          type: string
          enum:
          - pending
          - verified
          - failed
        mailFromStatus:
          type: string
          enum:
          - pending
          - verified
          - failed
          - not_applicable
          description: Custom MAIL FROM subdomain (`bounce.<domain>`) — carries the bounce path and lets DMARC align SPF.
        mailFromDomain:
          type:
          - string
          - 'null'
        selector:
          type:
          - string
          - 'null'
          description: DKIM selector published at `<selector>._domainkey.<domain>`.
        verifiedForSending:
          type: boolean
          description: Whether the provider will currently accept mail from this domain.
        dkimTokens:
          type: array
          items:
            type: string
          description: Legacy SES Easy DKIM CNAME tokens. Empty for domains onboarded with BYODKIM, which publish a single TXT record instead.
        verificationToken:
          type:
          - string
          - 'null'
        lastCheckedAt:
          type:
          - string
          - 'null'
          format: date-time
        inboxId:
          type:
          - string
          - 'null'
          description: 'Scope: only this inbox may add sending identities on the domain. Null = any inbox.'
        createdAt:
          type: string
          format: date-time
        dnsRecords:
          type: array
          items:
            $ref: '#/components/schemas/DnsRecord'
          description: The DNS records to install.
      required:
      - domainId
      - domain
      - status
      - createdAt
      - dnsRecords
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Project API key. Use `sk_…` (secret) or `sk_test_…` (test) for server-side endpoints; `pk_…` (public) is accepted only by `POST /v1/events`.