send0 Inboxes API

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

GitHub OpenAPI

Operations 5

POST /v1/inboxes Create an inbox #
GET /v1/inboxes List inboxes #
GET /v1/inboxes/{inbox_id} Get an inbox #
PATCH /v1/inboxes/{inbox_id} Update an inbox #
DELETE /v1/inboxes/{inbox_id} Delete an inbox #

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

send0-dev-inboxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: send0 Inboxes API
  version: 1.0.0
  description: 'Email inboxes for AI agents: create an address, receive, wait, reply, and get webhooks. https://send0.dev'
  license:
    name: AGPL-3.0
    identifier: AGPL-3.0-only
servers:
- url: https://api.send0.dev
security:
- bearerAuth: []
tags:
- name: Inboxes
paths:
  /v1/inboxes:
    post:
      operationId: createInbox
      summary: Create an inbox
      description: Creates `name@` on the install's default mail domain (send0.email on send0.dev), or on `domain` if given. Omit `name` for a random address.
      tags:
      - Inboxes
      x-send0-scope: send
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: 'Retry-safe POSTs: same key + same body returns the stored response for 24 hours.'
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 64
                domain:
                  type: string
                  maxLength: 253
                display_name:
                  anyOf:
                  - type: string
                    maxLength: 100
                  - type: 'null'
                send_policy:
                  type: string
                  enum:
                  - open
                  - reply_only
                  - approval
                retention_days:
                  type: integer
                  minimum: 1
                  maximum: 30
                  description: 'Days to keep message content (1 to 30, default 7). After that, bodies, extracted fields, attachments and the raw message are deleted and the message reads as `expired: true`; the rest of the message is deleted after 35 days.'
                metadata:
                  type: object
                  propertyNames:
                    type: string
                    maxLength: 40
                  additionalProperties:
                    anyOf:
                    - type: string
                      maxLength: 500
                    - type: number
                    - type: boolean
                    - type: 'null'
                expires_at:
                  type: string
                  format: date-time
      responses:
        '201':
          description: Inbox
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inbox'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed (scope, policy or account state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not visible to this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      operationId: listInboxes
      summary: List inboxes
      tags:
      - Inboxes
      x-send0-scope: read
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          default: 20
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 200
      responses:
        '200':
          description: InboxList
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxList'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed (scope, policy or account state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not visible to this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/inboxes/{inbox_id}:
    get:
      operationId: getInbox
      summary: Get an inbox
      tags:
      - Inboxes
      x-send0-scope: read
      parameters:
      - name: inbox_id
        in: path
        required: true
        description: Inbox id (ibx_…)
        schema:
          type: string
      responses:
        '200':
          description: Inbox
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inbox'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed (scope, policy or account state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not visible to this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      operationId: updateInbox
      summary: Update an inbox
      tags:
      - Inboxes
      x-send0-scope: send
      parameters:
      - name: inbox_id
        in: path
        required: true
        description: Inbox id (ibx_…)
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                display_name:
                  anyOf:
                  - type: string
                    maxLength: 100
                  - type: 'null'
                send_policy:
                  type: string
                  enum:
                  - open
                  - reply_only
                  - approval
                retention_days:
                  type: integer
                  minimum: 1
                  maximum: 30
                  description: 'Days to keep message content (1 to 30, default 7). After that, bodies, extracted fields, attachments and the raw message are deleted and the message reads as `expired: true`; the rest of the message is deleted after 35 days.'
                metadata:
                  type: object
                  propertyNames:
                    type: string
                    maxLength: 40
                  additionalProperties:
                    anyOf:
                    - type: string
                      maxLength: 500
                    - type: number
                    - type: boolean
                    - type: 'null'
                expires_at:
                  anyOf:
                  - type: string
                    format: date-time
                  - type: 'null'
      responses:
        '200':
          description: Inbox
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inbox'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed (scope, policy or account state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not visible to this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteInbox
      summary: Delete an inbox
      description: Mail to the address is refused from now on. The address is never reassigned.
      tags:
      - Inboxes
      x-send0-scope: admin
      parameters:
      - name: inbox_id
        in: path
        required: true
        description: Inbox id (ibx_…)
        schema:
          type: string
      responses:
        '200':
          description: DeletedInbox
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedInbox'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed (scope, policy or account state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not visible to this key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit (`rate_limited`, see Retry-After) or daily send limit reached
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DeletedInbox:
      $id: '#/components/schemas/DeletedInbox'
      type: object
      properties:
        object:
          type: string
          const: inbox
        id:
          type: string
        address:
          type: string
        local_part:
          type: string
        domain:
          type: string
        display_name:
          type:
          - string
          - 'null'
        mode:
          type: string
          enum:
          - live
          - sandbox
        send_policy:
          type: string
          enum:
          - open
          - reply_only
          - approval
        status:
          type: string
          enum:
          - active
          - suspended
          - deleted
        retention_days:
          type: integer
        metadata:
          type: object
          propertyNames:
            type: string
          additionalProperties:
            type:
            - string
            - number
            - boolean
            - 'null'
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        deleted:
          type: boolean
          const: true
      required:
      - object
      - id
      - address
      - local_part
      - domain
      - display_name
      - mode
      - send_policy
      - status
      - retention_days
      - metadata
      - expires_at
      - created_at
      - updated_at
      - deleted
      additionalProperties: false
    Inbox:
      $id: '#/components/schemas/Inbox'
      type: object
      properties:
        object:
          type: string
          const: inbox
        id:
          type: string
        address:
          type: string
        local_part:
          type: string
        domain:
          type: string
        display_name:
          type:
          - string
          - 'null'
        mode:
          type: string
          enum:
          - live
          - sandbox
        send_policy:
          type: string
          enum:
          - open
          - reply_only
          - approval
        status:
          type: string
          enum:
          - active
          - suspended
          - deleted
        retention_days:
          type: integer
        metadata:
          type: object
          propertyNames:
            type: string
          additionalProperties:
            type:
            - string
            - number
            - boolean
            - 'null'
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - object
      - id
      - address
      - local_part
      - domain
      - display_name
      - mode
      - send_policy
      - status
      - retention_days
      - metadata
      - expires_at
      - created_at
      - updated_at
      additionalProperties: false
    Error:
      $id: '#/components/schemas/Error'
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable, machine-readable code, e.g. not_found, recipient_not_allowed
            message:
              type: string
            param:
              description: The request field the error is about
              type: string
            request_id:
              type: string
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
    InboxList:
      $id: '#/components/schemas/InboxList'
      type: object
      properties:
        object:
          type: string
          const: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Inbox'
        next_cursor:
          type:
          - string
          - 'null'
      required:
      - object
      - data
      - next_cursor
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key: s0_live_… or s0_test_…'