MultiMail Webhooks API

The Webhooks API from MultiMail — 4 operation(s) for webhooks.

GitHub OpenAPI

Operations 6

POST /v1/webhooks Create a webhook subscription #
GET /v1/webhooks List webhook subscriptions #
GET /v1/webhooks/{id} Get webhook subscription detail #
DELETE /v1/webhooks/{id} Delete a webhook subscription #
POST /v1/webhooks/postmark-inbound Postmark inbound email webhook #
POST /v1/webhooks/postmark Postmark bounce/complaint/delivery webhook handler #

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/multimail-dev:multimail-dev-webhooks-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

multimail-dev-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MultiMail Webhooks API
  version: 2.0.0
  description: Email-as-a-Service for AI agents. Inbound email converted to markdown, outbound markdown converted to HTML. Built on Cloudflare Workers.
servers:
- url: https://api.multimail.dev
tags:
- name: Webhooks
paths:
  /v1/webhooks:
    post:
      summary: Create a webhook subscription
      description: Subscribe to email events. For native inbound delivery, configure the mailbox webhook_url to this URL and subscribe to email.received with that mailbox_id. Returns the signing secret (shown only on creation). Requires admin scope.
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              - events
              properties:
                url:
                  type: string
                  format: uri
                  description: HTTPS URL to receive events
                events:
                  type: array
                  items:
                    type: string
                  description: Event types to subscribe to
                mailbox_id:
                  type: string
                  description: 'Optional: scope to a specific mailbox'
      responses:
        '201':
          description: Subscription created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookSubscription'
        '400':
          description: Invalid URL or events
      tags:
      - Webhooks
      operationId: postV1Webhooks
      x-operation-id-source: derived
    get:
      summary: List webhook subscriptions
      description: Requires admin scope. Signing secrets are not included in the list.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Subscriptions
          content:
            application/json:
              schema:
                type: object
                properties:
                  subscriptions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        url:
                          type: string
                        events:
                          type: array
                          items:
                            type: string
                        mailbox_id:
                          type:
                          - string
                          - 'null'
                        created_at:
                          type: string
                          format: date-time
      tags:
      - Webhooks
      operationId: getV1Webhooks
      x-operation-id-source: derived
  /v1/webhooks/{id}:
    get:
      summary: Get webhook subscription detail
      description: Includes signing secret. Requires admin scope.
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Subscription detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookSubscription'
        '404':
          description: Subscription not found
      tags:
      - Webhooks
      operationId: getV1WebhooksById
      x-operation-id-source: derived
    delete:
      summary: Delete a webhook subscription
      description: Requires admin scope. Sensitive changes require a request-bound operator code; API-key scope alone does not authorize them.
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: X-MultiMail-Approval-Code
        in: header
        required: false
        schema:
          type: string
        description: Operator-delivered single-use proof for the exact request. Without proof, HTTP 202 requests operator approval and does not complete the operation. Confirmation booleans and MCP UI hints cannot grant authority.
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: deleted
        '202':
          description: Operator approval requested; operation not completed
        '404':
          description: Subscription not found
      tags:
      - Webhooks
      operationId: deleteV1WebhooksById
      x-operation-id-source: derived
  /v1/webhooks/postmark-inbound:
    post:
      summary: Postmark inbound email webhook
      description: Receives inbound emails from Postmark. Authenticated via HTTP Basic Auth with the Postmark webhook secret. Not a consumer API endpoint.
      responses:
        '200':
          description: Processed
          content:
            application/json:
              schema:
                type: object
                properties:
                  received:
                    type: boolean
                  processed:
                    type: integer
        '401':
          description: Invalid credentials
      tags:
      - Webhooks
      operationId: postV1WebhooksPostmarkInbound
      x-operation-id-source: derived
  /v1/webhooks/postmark:
    post:
      summary: Postmark bounce/complaint/delivery webhook handler
      tags:
      - Webhooks
      operationId: postV1WebhooksPostmark
      x-operation-id-source: derived
components:
  schemas:
    WebhookSubscription:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        events:
          type: array
          items:
            type: string
        mailbox_id:
          type:
          - string
          - 'null'
        signing_secret:
          type: string
          description: HMAC signing secret (whsec_...)
        created_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key (mm_live_...). Keys have scopes: read (list/read emails, mailboxes, contacts), send (send/reply/cancel emails), admin (manage mailboxes, API keys, billing, account), oversight (approve/reject pending emails).'