Sending Webhooks API

Signed webhooks for email events.

GitHub OpenAPI

Operations 6

GET /webhooks List webhooks #
POST /webhooks Create a webhook #
GET /webhooks/{id} Get a webhook #
PATCH /webhooks/{id} Update a webhook #
DELETE /webhooks/{id} Delete a webhook #
GET /webhooks/{id}/deliveries Delivery log of a webhook #

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/sending-dev:sending-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

sending-dev-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sending.dev Webhooks API
  version: 1.0.0
  description: 'Public REST API of Sending.dev (MCP-native orchestrator for email + WhatsApp + Telegram).


    ## Authentication

    Every request requires `Authorization: Bearer sk_...` (workspace API key). The `tenantId` is always derived from the key.


    ## Idempotency

    Sends require an `idempotencyKey` (min 8 characters) to prevent duplicates on retries.'
  contact:
    name: Sending.dev
    url: https://sending.dev
servers:
- url: https://sending.dev/api/v1
  description: Production
- url: http://localhost:3000/api/v1
  description: Local development
security:
- bearerAuth: []
tags:
- name: Webhooks
  description: Signed webhooks for email events.
paths:
  /webhooks:
    get:
      tags:
      - Webhooks
      summary: List webhooks
      description: 'Required scope: `webhooks:read`.'
      security:
      - bearerAuth: []
      x-required-scope:
      - webhooks:read
      responses:
        '200':
          description: Workspace webhooks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookList'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
      operationId: getWebhooks
      x-operation-id-source: derived
    post:
      tags:
      - Webhooks
      summary: Create a webhook
      description: 'The signing `secret` is returned only once. Required scope: `webhooks:write`.'
      security:
      - bearerAuth: []
      x-required-scope:
      - webhooks:write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookInput'
      responses:
        '201':
          description: Webhook created (with secret).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookCreated'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Plan quota exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaError'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '422':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
      operationId: postWebhooks
      x-operation-id-source: derived
  /webhooks/{id}:
    get:
      tags:
      - Webhooks
      summary: Get a webhook
      description: 'Required scope: `webhooks:read`.'
      security:
      - bearerAuth: []
      x-required-scope:
      - webhooks:read
      parameters:
      - schema:
          type: string
          description: Webhook ID.
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Webhook detail.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEnvelope'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getWebhooksById
      x-operation-id-source: derived
    patch:
      tags:
      - Webhooks
      summary: Update a webhook
      description: 'Required scope: `webhooks:write`.'
      security:
      - bearerAuth: []
      x-required-scope:
      - webhooks:write
      parameters:
      - schema:
          type: string
          description: Webhook ID.
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookInput'
      responses:
        '200':
          description: Webhook updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEnvelope'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
      operationId: patchWebhooksById
      x-operation-id-source: derived
    delete:
      tags:
      - Webhooks
      summary: Delete a webhook
      description: 'Required scope: `webhooks:write`.'
      security:
      - bearerAuth: []
      x-required-scope:
      - webhooks:write
      parameters:
      - schema:
          type: string
          description: Webhook ID.
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Webhook deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ok'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteWebhooksById
      x-operation-id-source: derived
  /webhooks/{id}/deliveries:
    get:
      tags:
      - Webhooks
      summary: Delivery log of a webhook
      description: 'Required scope: `webhooks:read`.'
      security:
      - bearerAuth: []
      x-required-scope:
      - webhooks:read
      parameters:
      - schema:
          type: string
          description: Webhook ID.
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Recent deliveries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryList'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getWebhooksByIdDeliveries
      x-operation-id-source: derived
components:
  schemas:
    Ok:
      type: object
      properties:
        ok:
          type: boolean
          enum:
          - true
      required:
      - ok
    ValidationError:
      type: object
      properties:
        error:
          type: object
          properties:
            formErrors:
              type: array
              items:
                type: string
            fieldErrors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
          required:
          - formErrors
          - fieldErrors
      required:
      - error
      description: 'Zod validation failed: shape of `ZodError.flatten()`.'
    WebhookList:
      type: object
      properties:
        webhooks:
          type: array
          items:
            $ref: '#/components/schemas/Webhook'
      required:
      - webhooks
    UpdateWebhookInput:
      type: object
      properties:
        url:
          type: string
          format: uri
        description:
          type: string
          maxLength: 200
        events:
          type: array
          items:
            type: string
            enum:
            - email.received
            - email.sent
            - email.delivered
            - email.bounced
            - email.complained
          minItems: 1
        enabled:
          type: boolean
    Error:
      type: object
      properties:
        error:
          type: string
          example: not_found
        message:
          type: string
      required:
      - error
      description: 'Generic error: snake_case code in `error`.'
    WebhookEnvelope:
      type: object
      properties:
        webhook:
          $ref: '#/components/schemas/Webhook'
      required:
      - webhook
    WebhookDelivery:
      type: object
      properties:
        id:
          type: string
          format: uuid
        event:
          type: string
        status:
          type: string
        statusCode:
          type:
          - integer
          - 'null'
        createdAt:
          type: string
          format: date-time
          example: '2026-06-30T12:00:00.000Z'
      required:
      - id
    WebhookDeliveryList:
      type: object
      properties:
        deliveries:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
      required:
      - deliveries
    Webhook:
      type: object
      properties:
        id:
          type: string
          format: uuid
        url:
          type: string
        description:
          type:
          - string
          - 'null'
        events:
          type: array
          items:
            type: string
        enabled:
          type: boolean
        createdAt:
          type: string
          format: date-time
          example: '2026-06-30T12:00:00.000Z'
      required:
      - id
      - url
    CreateWebhookInput:
      type: object
      properties:
        url:
          type: string
          format: uri
        description:
          type: string
          maxLength: 200
        events:
          type: array
          items:
            type: string
            enum:
            - email.received
            - email.sent
            - email.delivered
            - email.bounced
            - email.complained
          minItems: 1
      required:
      - url
      - events
    QuotaError:
      type: object
      properties:
        error:
          type: string
          example: quota_exceeded
        message:
          type: string
        resource:
          type: string
        limit:
          type: number
        used:
          type: number
        remaining:
          type: number
        plan:
          type: string
      required:
      - error
      description: Plan limit exceeded (entitlement).
    WebhookCreated:
      type: object
      properties:
        webhook:
          $ref: '#/components/schemas/Webhook'
        secret:
          type: string
      required:
      - webhook
      - secret
    ForbiddenError:
      type: object
      properties:
        error:
          type: string
          enum:
          - forbidden
        need:
          type: string
          example: contacts:write
      required:
      - error
      description: Insufficient scope; `need` names the missing scope.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Workspace API key in the `sk_...` format, passed as `Authorization: Bearer sk_...`. The `tenantId` is always derived from the key, never from a request parameter.'