Automattic Emails API

The emails API from Automattic — 10 operation(s) for emails.

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 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /wpcom/v2/emails/titan/{account_id}/control-panel-auto-login-url Get a Titan email control panel auto-login link · GET /wpcom/v2/emails/titan/{account_id}/control-panel-auto-login-url #
Ask an LLM
“How do I get a one-click login link to the Titan email control panel for an account?”
“Can I generate an auto-login URL for a Titan email account?”
Tell an agent
Get the Titan email control panel auto-login URL for account {account_id}.
Generate a one-click login link to Titan email control panel for {account_id}.
GET /wpcom/v2/emails/titan/{account_id}/control-panel-iframe-url Get a Titan email control panel iframe URL · GET /wpcom/v2/emails/titan/{account_id}/control-panel-iframe-url #
Ask an LLM
“Can I embed the Titan email control panel in an iframe for an account?”
“What iframe URL does Titan email use for an account?”
Tell an agent
Get the Titan email control panel iframe URL for account {account_id}.
Get the iframe embed URL for Titan email control panel for {account_id}.
GET /wpcom/v2/emails/titan/{domain}/check-mailbox-availability/{mailbox} Check if a Titan mailbox name is available · GET /wpcom/v2/emails/titan/{domain}/check-mailbox-availability/{mailbox} #
Ask an LLM
“Is a mailbox name still available on my Titan email domain?”
“Can I check Titan mailbox availability before creating it?”
Tell an agent
Check whether mailbox {mailbox} is available on Titan email domain {domain}.
See if {mailbox} can be created on {domain} for Titan email.
POST /wpcom/v2/emails/titan/{domain}/mailbox/create Create a Titan mailbox · POST /wpcom/v2/emails/titan/{domain}/mailbox/create #
Ask an LLM
“How do I create a new mailbox on my Titan email domain?”
“Can I set a password and alternate email when creating a Titan mailbox?”
Tell an agent
Create mailbox {mailbox} on Titan email domain {domain} for {name} with password {password} and alternate email {alternate_email_address}.
Add a new Titan mailbox {mailbox} to {domain} for {name}, password {password}, alternate {alternate_email_address}, admin {is_admin}.
DELETE /wpcom/v2/emails/titan/{domain}/mailbox/{mailbox} Delete a Titan mailbox · DELETE /wpcom/v2/emails/titan/{domain}/mailbox/{mailbox} #
Ask an LLM
“How do I delete a mailbox from my Titan email domain?”
“Can I remove a Titan mailbox by its name?”
Tell an agent destructive · confirm first
Delete mailbox {mailbox} from Titan email domain {domain}.
Remove the {mailbox} mailbox on {domain} for Titan email.
GET /wpcom/v2/emails/titan/{domain}/order-provisioning-url Get the provisioning URL for a Titan email domain · GET /wpcom/v2/emails/titan/{domain}/order-provisioning-url #
Ask an LLM
“Where do I order email hosting for a domain through Titan?”
“What provisioning URL does Titan email use for a domain?”
Tell an agent
Get the provisioning URL for Titan email domain {domain}.
Get the order provisioning URL for {domain} on Titan email.
GET /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain} Get a site's email account for a domain · GET /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain} #
Ask an LLM
“Which email account is set up for a domain on my site?”
“Can I look up a site's email account by domain?”
Tell an agent
Get the email account for domain {domain} on site {wpcom_site}.
Show the site {wpcom_site} email account for {domain}.
GET /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain}/mailboxes List mailboxes on a site's email account · GET /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain}/mailboxes #
Ask an LLM
“What mailboxes exist on a domain's email account on my site?”
“Can I list every mailbox on a site's email account?”
Tell an agent
List the mailboxes on the email account for domain {domain} on site {wpcom_site}.
Show every mailbox on {domain} for site {wpcom_site} email account.
GET /wpcom/v2/sites/{wpcom_site}/emails/domains List email domains on a site · GET /wpcom/v2/sites/{wpcom_site}/emails/domains #
Ask an LLM
“Which email domains are set up on my site?”
“Can I list all email domains for a site?”
Tell an agent
List the email domains on site {wpcom_site}.
Show every email domain configured for {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/emails/mailboxes List all mailboxes on a site · GET /wpcom/v2/sites/{wpcom_site}/emails/mailboxes #
Ask an LLM
“What mailboxes exist across all email domains on my site?”
“Can I list every mailbox on a site regardless of domain?”
Tell an agent
List all mailboxes on site {wpcom_site}.
Show every mailbox across all email domains for {wpcom_site}.

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/automattic:automattic-emails-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

automattic-emails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Emails API
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wpcom/v2/. Paths, HTTP methods, and parameter names/types/descriptions/defaults are taken verbatim from that index. Response schemas are not published in the route index, so successful responses are described but not schematised; the error envelope was observed live on public-api.wordpress.com.
  contact:
    name: Automattic
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/wpcom/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:
- name: Emails
paths:
  /wpcom/v2/emails/titan/{account_id}/control-panel-auto-login-url:
    get:
      operationId: getWpcomV2EmailsTitanbyAccountIdControlPanelAutoLoginUrl
      summary: GET /wpcom/v2/emails/titan/{account_id}/control-panel-auto-login-url
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/emails/titan/{account_id}/control-panel-iframe-url:
    get:
      operationId: getWpcomV2EmailsTitanbyAccountIdControlPanelIframeUrl
      summary: GET /wpcom/v2/emails/titan/{account_id}/control-panel-iframe-url
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/emails/titan/{domain}/check-mailbox-availability/{mailbox}:
    get:
      operationId: getWpcomV2EmailsTitanbyDomainCheckMailboxAvailabilitybyMailbox
      summary: GET /wpcom/v2/emails/titan/{domain}/check-mailbox-availability/{mailbox}
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      - name: mailbox
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/emails/titan/{domain}/mailbox/create:
    post:
      operationId: postWpcomV2EmailsTitanbyDomainMailboxCreate
      summary: POST /wpcom/v2/emails/titan/{domain}/mailbox/create
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the mailbox owner/user
                mailbox:
                  type: string
                  description: The mailbox name i.e. the email address excluding the domain
                password:
                  type: string
                  description: The password to authenticate users who want to access the mailbox
                alternate_email_address:
                  type: string
                  description: The alternate email address for password resets and notifications
                is_admin:
                  type: boolean
                  default: false
                  description: Whether this user should have administrative permissions/privileges for the domain
              required:
              - name
              - mailbox
              - password
              - alternate_email_address
  /wpcom/v2/emails/titan/{domain}/mailbox/{mailbox}:
    delete:
      operationId: deleteWpcomV2EmailsTitanbyDomainMailboxbyMailbox
      summary: DELETE /wpcom/v2/emails/titan/{domain}/mailbox/{mailbox}
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
      - name: mailbox
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/emails/titan/{domain}/order-provisioning-url:
    get:
      operationId: getWpcomV2EmailsTitanbyDomainOrderProvisioningUrl
      summary: GET /wpcom/v2/emails/titan/{domain}/order-provisioning-url
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain}:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteEmailsAccountsbyDomain
      summary: GET /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain}
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: domain
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain}/mailboxes:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteEmailsAccountsbyDomainMailboxes
      summary: GET /wpcom/v2/sites/{wpcom_site}/emails/accounts/{domain}/mailboxes
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: domain
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/emails/domains:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteEmailsDomains
      summary: GET /wpcom/v2/sites/{wpcom_site}/emails/domains
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/emails/mailboxes:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteEmailsMailboxes
      summary: GET /wpcom/v2/sites/{wpcom_site}/emails/mailboxes
      tags:
      - Emails
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
components:
  schemas:
    WPRestError:
      type: object
      description: WordPress REST API error envelope (observed on public-api.wordpress.com).
      properties:
        code:
          type: string
          example: rest_unauthorized
        message:
          type: string
          example: Authentication required.
        data:
          type: object
          properties:
            status:
              type: integer
              example: 401
  securitySchemes:
    oauth2:
      type: oauth2
      description: WordPress.com OAuth 2.1, per https://public-api.wordpress.com/.well-known/openid-configuration
      flows:
        authorizationCode:
          authorizationUrl: https://public-api.wordpress.com/oauth2-1/authorize
          tokenUrl: https://public-api.wordpress.com/oauth2-1/token
          refreshUrl: https://public-api.wordpress.com/oauth2-1/token
          scopes:
            global: ''
            auth: ''
            openid: ''
            profile: ''
            email: ''
            users: ''
            sites: ''
            posts: ''
            comments: ''
            taxonomy: ''
            follow: ''
            sharing: ''
            freshly-pressed: ''
            notifications: ''
            insights: ''
            read: ''
            stats: ''
            media: ''
            menus: ''
            batch: ''
            videos: ''
    bearerAuth:
      type: http
      scheme: bearer