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/commsharbor:commsharbor-auth-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: 3.2.0
info:
title: CommsHarbor Auth API
version: fd7767a6
description: Manage domain email, mailboxes, aliases and durable jobs. Each call uses its organization's identity.
servers:
- url: https://commsharbor.com
tags:
- name: Auth
paths:
/api/auth/bootstrap:
get:
operationId: get_api_auth_bootstrap
summary: Prepare the browser for global sign-in
description: 'Sets a host-only HttpOnly browser cookie. CSRF is bound to the current session. No CORS.
Returns: { csrf, context }'
security: []
responses:
'200':
description: '{ csrf, context }'
content:
application/json:
schema:
type: object
properties:
csrf:
type: string
description: X-CSRF-Token
context:
type: string
description: Opaque view context, also in X-MM-Context; not a credential / contexto opaco da vista, não é credencial.
required:
- csrf
- context
'400':
description: invalid_request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'403':
description: invalid_origin / invalid_csrf
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: 'auth_unavailable: a sessão anterior é preservada / the previous session is preserved'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/logout:
post:
operationId: commsharbor_logout
summary: Revoke this product session
description: 'Bootstrap/CSRF must belong to this browser and session. Other product sessions remain active.
Returns: { ok }'
security:
- globalAccount: []
responses:
'200':
description: '{ ok }'
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
description: 'true'
required:
- ok
'400':
description: invalid_request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'403':
description: invalid_origin / invalid_csrf
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: 'auth_unavailable: a sessão anterior é preservada / the previous session is preserved'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/pwa/install:
post:
operationId: post_api_auth_pwa_install
summary: Prepare a personal app installation
description: 'Requires recent sign-in, exact Origin and browser CSRF. Returns a private signed PIN and a no-store manifest address. At most 10 active installations per account and product.
Returns: {pin,path,manifest}'
security:
- globalAccount: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
path:
type: string
description: Same-origin task path, up to 1600 characters.
state:
type: object
description: Up to 30 allowlisted preference keys and string values.
manifest:
type: object
description: Public app name and same-origin icons.
required:
- path
- state
- manifest
responses:
'200':
description: '{pin,path,manifest}'
'400':
description: invalid_installation_path / invalid_installation_state / invalid_installation_manifest
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'401':
description: invalid_session / reauth_required
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: installation_not_created
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: auth_unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/pwa/restore:
post:
operationId: post_api_auth_pwa_restore
summary: Restore an installed app
description: 'Requires the signed PIN, exact Origin and browser CSRF. Verifies host, product, account status, security version and installation revocation. Keeps the original authentication time. Sensitive actions still require recent sign-in.
Returns: {ok:true,state,path,manifest}; HttpOnly session cookies'
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
pin:
type: string
description: Private signed installation credential.
required:
- pin
responses:
'200':
description: '{ok:true,state,path,manifest}; HttpOnly session cookies'
'401':
description: invalid_installation
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'403':
description: invalid_origin / invalid_csrf
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: auth_unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/pwa/manifest:
get:
operationId: get_api_auth_pwa_manifest
summary: Read the private installation manifest
description: 'Requires the installation cookie and its manifest key. Private, no-store. The start URL keeps the PIN in the fragment.
Returns: application/manifest+json'
security: []
parameters:
- name: key
in: query
required: true
schema:
type: string
description: Key in the manifest address that the install or restore call returned.
responses:
'200':
description: application/manifest+json
'401':
description: invalid_installation
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/wallet/agent/start:
post:
operationId: post_api_auth_wallet_agent_start
summary: Start the wallet credential of an agent without an account
description: 'No account: the wallet proves it is hers by signing the message (EIP-4361). Signing does not pay or transfer anything. The message names this product and lasts 5 minutes. Before you sign, compare the message with the URL that you called. The domain on the first line must be the host of that URL. URI must be its origin. If one is different, do not sign. Sign it with personal_sign and send it to /api/auth/wallet/agent/token.
Returns: { message, issuedAt, expiresIn }'
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
address:
type: string
description: 0x…, a carteira (EOA ou contrato na Base)
required:
- address
example:
address: '0x2c7536E3605D9C16a7a3D7b1898e529396a65c23'
responses:
'200':
description: '{ message, issuedAt, expiresIn }'
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: EIP-4361
issuedAt:
type: number
description: segundos / seconds
expiresIn:
type: number
description: '300'
required:
- message
- issuedAt
- expiresIn
'400':
description: invalid_wallet_address
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: auth_unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/wallet/agent/token:
post:
operationId: post_api_auth_wallet_agent_token
summary: Get the wallet credential (mmw_…) of this product
description: 'The wallet''s signature of the start message, checked here (own key) or on Base (contract, EIP-1271/6492). The credential lasts 30 days: send `Authorization: Bearer mmw_…` to the routes that accept the wallet as owner (owner `x402:`). Once the wallet is linked to an account, what it did here moves to the account when the person signs in.
Returns: { token, owner, expiresAt }'
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
address:
type: string
description: 0x…, a mesma carteira do start / the same wallet as in start
issuedAt:
type: number
description: o issuedAt do start / start's issuedAt
signature:
type: string
description: personal_sign (0x…)
required:
- address
- issuedAt
- signature
example:
address: '0x2c7536E3605D9C16a7a3D7b1898e529396a65c23'
issuedAt: 1791400000
signature: 0x…
responses:
'200':
description: '{ token, owner, expiresAt }'
content:
application/json:
schema:
type: object
properties:
token:
type: string
description: mmw_…
owner:
type: string
description: x402:0x…
expiresAt:
type: number
description: segundos / seconds
required:
- token
- owner
- expiresAt
'400':
description: invalid_body
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'401':
description: invalid_wallet
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'429':
description: wallet_limited
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: wallet_unavailable / auth_unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/claim/wallets:
post:
operationId: post_api_auth_claim_wallets
summary: Move to the account what its wallets did without an account
description: 'The sign-in window calls it after every sign-in. For each wallet linked to the account: the rights bought here by x402 (owner x402:) and what this product keeps for that owner. Repeating moves nothing.
Returns: { carteiras, direitos }'
security:
- globalAccount: []
responses:
'200':
description: '{ carteiras, direitos }'
content:
application/json:
schema:
type: object
properties:
carteiras:
type: number
description: wallets
direitos:
type: number
description: rights moved
required:
- carteiras
- direitos
'401':
description: invalid_session
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: auth_unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
/api/auth/claim:
post:
operationId: post_api_auth_claim
summary: Attach this browser's temporary workspace to your global account
description: 'Requires a recent sign-in with a second factor, as organization ownership does. The workspace stays available as a guest until the claim succeeds.
Returns: { ok }'
security:
- globalAccount: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: '{ ok }'
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
description: true when linked.
required:
- ok
'401':
description: unauthorized — no account session; sign in at `/conta/global` first
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: guest_claim_mfa_required / guest_already_claimed
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: auth_unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Auth
components:
schemas:
ProblemDetails:
type: object
description: RFC 9457 Problem Details error response (`application/problem+json`). Includes stable `code` and backward-compatible `error` and `message` fields; route-specific extension fields (such as `accepts`, `allow`, `retry_after`, or `request_id`) may also be present.
required:
- type
- title
- status
- detail
- instance
- code
properties:
type:
type: string
format: uri
description: URI identifying the problem type, linking to `/errors#<code>` on this host.
title:
type: string
description: Short human-readable summary of the problem type.
status:
type: integer
description: HTTP status code generated for this occurrence.
detail:
type: string
description: Human-readable explanation specific to this occurrence.
instance:
type: string
description: Request path where the error occurred (without query parameters).
code:
type: string
description: Stable machine-readable snake_case error code documented at `/errors`.
error:
type: string
description: Backward-compatible alias of `code` (or protocol reason on x402 402 responses).
message:
type: string
description: Backward-compatible alias of `detail`.
additionalProperties: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Use an organisation API key (`mmk_…`) for permitted work in that organisation. Account operations require the shared account session. Paid routes accept a global credit token (`cred_…`). Monthly purchases require a recent human session.
globalAccount:
type: apiKey
in: cookie
name: __Host-mm-auth
description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
contaChaveApi:
type: http
scheme: bearer
bearerFormat: mmk_…
description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
carteiraAgente:
type: http
scheme: bearer
bearerFormat: mmw_…
description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
url: https://payapi.market/api/commsharbor
description: PayAPI Market
x-service-info:
categories:
- email
- mailbox-management
docs:
homepage: https://commsharbor.com/
apiReference: https://commsharbor.com/developers
llms: https://commsharbor.com/llms.txt
errors: https://commsharbor.com/errors
pricing: https://commsharbor.com/api/pricing
billing: https://commsharbor.com/api/billing