AsyncAPI Specification
generated: '2026-11-17'
method: searched
generator: extract-docs-artifacts.py (local)
source: https://mailbox.bot/docs/webhooks
sources:
- https://mailbox.bot/docs/webhooks
description: Webhook notifications for mail arrival, scans and keyword matches.
events:
- event: inbound.received
description: A mail item or package was received for you at the facility; the envelope is photographed but contents are not scanned yet.
- event: inbound.action.requested
description: You (or an approved agent proposal) asked for Open & scan, Forward or Discard.
- event: inbound.pages_ready
description: Every page of an Open & scan has readable text (or terminally failed).
- event: inbound.keywords_matched
description: One of your keyword rules matched the envelope or the scanned contents; sent once per item, rule and page set.
- event: inbound.action.completed
description: The scan, forward (with tracking) or discard finished.
- event: mail.pending_approval
description: A letter from a key that requires approval is waiting for you in the dashboard.
- event: mail.submitted
description: A letter was paid for and joined the print queue.
- event: mail.ready
description: The facility printed and packed the letter and took the proof photos.
- event: mail.mailed
description: The letter was handed to USPS or FedEx, with a tracking number when the class has one.
- event: mail.delivered
description: The carrier reported delivery (tracked classes).
- event: mail.failed
description: The mail could not be sent, or the carrier reported a failure; error_message explains why.
- event: mail.cancelled
description: The mail was cancelled before printing and the credits were returned.
- event: batch.submitted
description: A paid batch has every piece generated and is in the facility's print queue.
- event: batch.completed
description: The facility mailed every piece in the batch.
- event: batch.partially_completed
description: The facility mailed some pieces; the rest are refunded (refunded_cents).
- event: batch.failed
description: The facility could not fulfill the batch; the credits are refunded in full.
- event: batch.cancelled
description: The batch was cancelled before printing and the credits were refunded.
- event: batch.piece.scanned
description: A piece's QR code was scanned for the first time; carries the piece and your reference.
- event: batch.piece.confirmed
description: The recipient confirmed the piece, or verified the address with its code; once per piece.
delivery:
signature: Each webhook request includes a signature generated with the webhook’s secret (whsec_…) and can be verified using the provided signing
secret.
content_type: application/json
note: The documentation does not specify a retry policy; therefore retry details are not provided.
docs: https://mailbox.bot/docs/webhooks
Work with this as data
Every AsyncAPI spec 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 asyncapi
4 MCP tools reach this
find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.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 AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/mailbox-bot-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?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.