Mailfornet Webhooks API

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

GitHub OpenAPI

Operations 5

GET /webhooks List webhooks #
POST /webhooks Register a webhook #
DELETE /webhooks/{id} Remove a webhook #
POST /webhooks/{id}/test Send a test event #
GET /webhooks/{id}/deliveries Recent delivery attempts #

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

mailfornet-com-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mailfornet Webhooks API
  version: 1.1.0
  summary: Disposable inboxes for automated testing
  description: Create a disposable inbox from your code and read the mail that arrives in it. Built for the test that signs up, waits for a verification code and types it back in.
  termsOfService: https://mailfornet.com/terms
  contact:
    name: Mailfornet support
    url: https://mailfornet.com/contact
servers:
- url: https://api.mailfornet.com/v1
security:
- bearerAuth: []
tags:
- name: Webhooks
paths:
  /webhooks:
    get:
      tags:
      - Webhooks
      summary: List webhooks
      operationId: listWebhooks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhooks:
                    type: array
                    items:
                      $ref: '#/components/schemas/Webhook'
    post:
      tags:
      - Webhooks
      summary: Register a webhook
      description: The signing secret is returned once, in this response, and cannot be read again.
      operationId: createWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  format: uri
                  description: Must be https.
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Webhook'
                - type: object
                  properties:
                    secret:
                      type: string
        '400':
          $ref: '#/components/responses/Error'
  /webhooks/{id}:
    delete:
      tags:
      - Webhooks
      summary: Remove a webhook
      operationId: deleteWebhook
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      responses:
        '200':
          description: Deleted
        '404':
          $ref: '#/components/responses/Error'
  /webhooks/{id}/test:
    post:
      tags:
      - Webhooks
      summary: Send a test event
      operationId: testWebhook
      description: Sends a signed webhook.test event to this endpoint and returns the delivery that resulted.
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      responses:
        '200':
          description: OK
        '404':
          $ref: '#/components/responses/Error'
  /webhooks/{id}/deliveries:
    get:
      tags:
      - Webhooks
      summary: Recent delivery attempts
      operationId: webhookDeliveries
      parameters:
      - $ref: '#/components/parameters/WebhookId'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  deliveries:
                    type: array
                    items:
                      type: object
                      properties:
                        event:
                          type: string
                        status:
                          type: integer
                          description: 0 when the request never completed.
                        error:
                          type: string
                        at:
                          type: string
                          format: date-time
components:
  schemas:
    Webhook:
      type: object
      properties:
        id:
          type: integer
        url:
          type: string
          format: uri
        createdAt:
          type: string
          format: date-time
        disabled:
          type: boolean
          description: Switched off after 20 consecutive failures.
        failCount:
          type: integer
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
              - invalid_request_error
              - authentication_error
              - rate_limit_error
              - api_error
            code:
              type: string
              description: Stable machine-readable code. Branch on this, not on the message.
              examples:
              - address_taken
              - quota_exceeded
              - invalid_api_key
            message:
              type: string
            docUrl:
              type: string
              format: uri
        requestId:
          type: string
          description: Also sent as the Mailfornet-Request-Id header.
  parameters:
    WebhookId:
      name: id
      in: path
      required: true
      schema:
        type: integer
  responses:
    Error:
      description: Something was wrong with the request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API key, created at https://mailfornet.com/account