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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/sending-dev:sending-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
openapi: 3.2.0
info:
title: Sending.dev Inboxes 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: Inboxes
description: Email inboxes for AI agents.
paths:
/inboxes:
get:
tags:
- Inboxes
summary: List agent inboxes
description: 'Required scope: `inbox:read`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:read
responses:
'200':
description: Workspace inboxes.
content:
application/json:
schema:
$ref: '#/components/schemas/InboxList'
'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: getInboxes
x-operation-id-source: derived
post:
tags:
- Inboxes
summary: Create an agent inbox
description: 'Required scope: `inbox:write`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateInboxInput'
responses:
'201':
description: Inbox created.
content:
application/json:
schema:
$ref: '#/components/schemas/InboxEnvelope'
'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'
'409':
description: State conflict (e.g. duplicate).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Invalid input.
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationError'
operationId: postInboxes
x-operation-id-source: derived
/inboxes/metrics:
get:
tags:
- Inboxes
summary: Aggregate inbox metrics
description: 'KPIs + daily volume + per inbox. Required scope: `inbox:read`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:read
responses:
'200':
description: Inbox metrics.
content:
application/json:
schema:
$ref: '#/components/schemas/InboxMetrics'
'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: getInboxesMetrics
x-operation-id-source: derived
/inboxes/{id}:
get:
tags:
- Inboxes
summary: Get an inbox
description: 'Required scope: `inbox:read`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:read
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
responses:
'200':
description: Inbox detail.
content:
application/json:
schema:
$ref: '#/components/schemas/InboxEnvelope'
'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: getInboxesById
x-operation-id-source: derived
patch:
tags:
- Inboxes
summary: Update an inbox
description: 'Required scope: `inbox:write`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:write
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InboxPatch'
responses:
'200':
description: Inbox updated.
content:
application/json:
schema:
$ref: '#/components/schemas/InboxEnvelope'
'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: patchInboxesById
x-operation-id-source: derived
delete:
tags:
- Inboxes
summary: Delete an inbox
description: 'Required scope: `inbox:write`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:write
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
responses:
'200':
description: Inbox deleted.
content:
application/json:
schema:
type: object
properties:
deleted:
type: string
required:
- deleted
'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: deleteInboxesById
x-operation-id-source: derived
/inboxes/{id}/send:
post:
tags:
- Inboxes
summary: Send an email from the inbox
description: 'Required scope: `inbox:send`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:send
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SendFromInboxInput'
responses:
'202':
description: Email queued.
content:
application/json:
schema:
$ref: '#/components/schemas/SendResult'
'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'
'404':
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: State conflict (e.g. duplicate).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Invalid input.
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationError'
operationId: postInboxesByIdSend
x-operation-id-source: derived
/inboxes/{id}/threads:
get:
tags:
- Inboxes
summary: List the threads of a folder
description: '`folder` parameter (default `inbox`). Required scope: `inbox:read`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:read
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
- schema:
type: string
enum:
- inbox
- starred
- sent
- drafts
- important
- scheduled
- all
- spam
- unauthenticated
- trash
description: Folder (view) to list.
required: false
name: folder
in: query
responses:
'200':
description: Threads of the folder.
content:
application/json:
schema:
$ref: '#/components/schemas/ThreadList'
'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: getInboxesByIdThreads
x-operation-id-source: derived
/inboxes/{id}/threads/{threadId}:
get:
tags:
- Inboxes
summary: Get a thread with its messages
description: 'Required scope: `inbox:read`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:read
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
- schema:
type: string
description: Thread ID.
required: true
name: threadId
in: path
responses:
'200':
description: Thread and messages.
content:
application/json:
schema:
$ref: '#/components/schemas/ThreadDetail'
'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: getInboxesByIdThreadsByThreadId
x-operation-id-source: derived
/inboxes/{id}/threads/{threadId}/reply:
post:
tags:
- Inboxes
summary: Reply in a thread
description: 'Required scope: `inbox:send`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:send
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
- schema:
type: string
description: Thread ID.
required: true
name: threadId
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ReplyInput'
responses:
'202':
description: Reply queued.
content:
application/json:
schema:
$ref: '#/components/schemas/SendResult'
'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: postInboxesByIdThreadsByThreadIdReply
x-operation-id-source: derived
/inboxes/{id}/drafts:
post:
tags:
- Inboxes
summary: Create a draft
description: 'Required scope: `inbox:send`. (`inbox:*` scopes cannot be assigned from the UI: they require a full-access `*` key).'
security:
- bearerAuth: []
x-required-scope:
- inbox:send
parameters:
- schema:
type: string
description: Inbox ID.
required: true
name: id
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDraftInput'
responses:
'201':
description: Draft created.
content:
application/json:
schema:
$ref: '#/components/schemas/DraftCreated'
'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: postInboxesByIdDrafts
x-operation-id-source: derived
components:
schemas:
DraftCreated:
type: object
properties:
draftId:
type: string
format: uuid
threadId:
type: string
format: uuid
required:
- draftId
- threadId
InboxMetrics:
type: object
properties:
kpis:
type: object
additionalProperties: {}
daily:
type: array
items: {}
perInbox:
type: array
items: {}
SendResult:
type: object
properties:
id:
type: string
status:
type: string
example: queued
idempotencyKey:
type: string
required:
- status
InboxList:
type: object
properties:
inboxes:
type: array
items:
$ref: '#/components/schemas/Inbox'
required:
- inboxes
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.
Inbox:
type: object
properties:
id:
type: string
format: uuid
localPart:
type: string
address:
type: string
displayName:
type: string
status:
type: string
createdAt:
type: string
format: date-time
example: '2026-06-30T12:00:00.000Z'
required:
- id
Thread:
type: object
properties:
id:
type: string
format: uuid
subject:
type: string
createdAt:
type: string
format: date-time
example: '2026-06-30T12:00:00.000Z'
required:
- id
EmailMessage:
type: object
properties:
id:
type: string
format: uuid
direction:
type: string
subject:
type: string
from:
type: string
to:
type: array
items:
type: string
html:
type: string
createdAt:
type: string
format: date-time
example: '2026-06-30T12:00:00.000Z'
required:
- id
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()`.'
InboxPatch:
type: object
properties:
displayName:
type: string
status:
type: string
enum:
- active
- archived
ThreadDetail:
type: object
properties:
thread:
$ref: '#/components/schemas/Thread'
messages:
type: array
items:
$ref: '#/components/schemas/EmailMessage'
required:
- thread
- messages
CreateInboxInput:
type: object
properties:
localPart:
type: string
minLength: 1
maxLength: 64
pattern: ^[a-z0-9][a-z0-9._-]*$
displayName:
type: string
minLength: 1
maxLength: 120
domainKind:
type: string
enum:
- shared
- tenant
default: shared
domainName:
type: string
avatarColor:
type: string
required:
- localPart
- displayName
ThreadList:
type: object
properties:
folder:
type: string
threads:
type: array
items:
$ref: '#/components/schemas/Thread'
required:
- folder
- threads
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).
SendFromInboxInput:
type: object
properties:
to:
anyOf:
- type: string
- type: array
items:
type: string
maxItems: 50
description: 'One or more recipients: ''a@b.com'', ''Name <a@b.com>'', several comma-separated addresses, or an array.'
cc:
anyOf:
- type: string
- type: array
items:
type: string
maxItems: 50
description: 'One or more recipients: ''a@b.com'', ''Name <a@b.com>'', several comma-separated addresses, or an array.'
bcc:
anyOf:
- type: string
- type: array
items:
type: string
maxItems: 50
description: 'One or more recipients: ''a@b.com'', ''Name <a@b.com>'', several comma-separated addresses, or an array.'
subject:
type: string
minLength: 1
html:
type: string
minLength: 1
attachments:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
description: Id of an attachment already uploaded with POST /v1/attachments.
filename:
type: string
minLength: 1
maxLength: 255
description: File name shown to the recipient. Required with `content` or `url`.
content:
type: string
minLength: 1
description: File content in base64, without the `data:` prefix.
url:
type: string
format: uri
description: Public https URL to download the file from (private hosts are blocked).
contentType:
type: string
minLength: 3
maxLength: 255
description: Content-Type override; when absent, it is inferred from the file name.
contentId:
type: string
minLength: 1
maxLength: 200
description: 'Content-ID for inline images referenced in the HTML as `cid:<value>`: the attachment becomes `inline` instead of appearing at the end of the message.'
maxItems: 20
description: 'Email attachments (max 20, 10 MB each, 25 MB in total). For each item provide exactly one source: `id`, `content` (base64) or `url`.'
idempotencyKey:
type: string
minLength: 8
required:
- to
- subject
- html
Error:
type: object
properties:
error:
type: string
example: not_found
message:
type: string
required:
- error
description: 'Generic error: snake_case code in `error`.'
CreateDraftInput:
type: object
properties:
to:
anyOf:
- type: string
- type: array
items:
type: string
maxItems: 50
description: 'One or more recipients: ''a@b.com'', ''Name <a@b.com>'', several comma-separated addresses, or an array.'
cc:
anyOf:
- type: string
- type: array
items:
type: string
maxItems: 50
description: 'One or more recipients: ''a@b.com'', ''Name <a@b.com>'', several comma-separated addresses, or an array.'
subject:
type: string
default: ''
html:
type: string
default: ''
threadId:
type: string
format: uuid
ReplyInput:
type: object
properties:
html:
type: string
minLength: 1
cc:
anyOf:
- type: string
- type: array
items:
type: string
maxItems: 50
description: 'One or more recipients: ''a@b.com'', ''Name <a@b.com>'', several comma-separated addresses, or an array.'
bcc:
anyOf:
- type: string
- type: array
items:
type: string
maxItems: 50
description: 'One or more recipients: ''a@b.com'', ''Name <a@b.com>'', several comma-separated addresses, or an array.'
attachments:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
description: Id of an attachment already uploaded with POST /v1/attachments.
filename:
type: string
minLength: 1
maxLength: 255
description: File name shown to the recipient. Required with `content` or `url`.
content:
type: string
minLength: 1
description: File content in base64, without the `data:` prefix.
url:
type: string
format: uri
description: Public https URL to download the file from (private hosts are blocked).
contentType:
type: string
minLength: 3
maxLength: 255
description: Content-Type override; when absent, it is inferred from the file name.
contentId:
type: string
minLength: 1
maxLength: 200
description: 'Content-ID for inline images referenced in the HTML as `cid:<value>`: the attachment becomes `inline` instead of appearing at the end of the message.'
maxItems: 20
description: 'Email attachments (max 20, 10 MB each, 25 MB in total). For each item provide exactly one source: `id`, `content` (base64) or `url`.'
idempotencyKey:
type: string
minLength: 8
required:
- html
InboxEnvelope:
type: object
properties:
inbox:
$ref: '#/components/schemas/Inbox'
required:
- inbox
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.'