Mailfornet Inboxes API

The Inboxes API from Mailfornet — 2 operation(s) for inboxes.

GitHub OpenAPI

Operations 2

POST /inboxes Create an inbox #
DELETE /inboxes/{address} Delete an inbox and its mail #

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-inboxes-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-inboxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mailfornet Inboxes 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: Inboxes
paths:
  /inboxes:
    post:
      tags:
      - Inboxes
      summary: Create an inbox
      operationId: createInbox
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          maxLength: 100
        description: 'Repeat a request safely: the same key returns the original response.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  pattern: ^[a-z0-9][a-z0-9._-]{1,29}$
                  description: Leave out for a random one.
                domain:
                  type: string
                  description: One of the domains from /domains.
                ttlMinutes:
                  type: integer
                  minimum: 1
                  maximum: 1440
                  default: 60
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inbox'
        '409':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
  /inboxes/{address}:
    delete:
      tags:
      - Inboxes
      summary: Delete an inbox and its mail
      operationId: deleteInbox
      parameters:
      - $ref: '#/components/parameters/Address'
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
                  address:
                    type: string
        '404':
          $ref: '#/components/responses/Error'
components:
  parameters:
    Address:
      name: address
      in: path
      required: true
      schema:
        type: string
        format: email
  schemas:
    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.
    Inbox:
      type: object
      properties:
        address:
          type: string
          format: email
        createdAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
  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