mailbox.bot
bot.mailbox/mailbox
Serveur MCP OK 55 outils
Hosted mailbox.bot postal MCP. $20/mo mailboxes are live now.
Fiche technique
- Auteur
- mailbox.bot (espace de noms du registre)
- Dépôt
- github.com/arbengine/mailbox-mcp
- Site
- mailbox.bot/mcp-install
- Version
- 1.0.5
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mailbox.bot/api/mcp Streamable HTTP en-tête requis :
Authorization - Outils
- 55
- Catégories
- —
- Dernière mise à jour
- 20 nov. 2026
- Publication
- 20 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/bot.mailbox/mailbox)<a href="https://latlas.dev/mcp/bot.mailbox/mailbox"><img src="https://latlas.dev/badge/fiche/bot.mailbox/mailbox.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mailbox.bot/api/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:09
- Temps de réponse
- 788 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- mailbox.bot 1.0.1
- Outils
- 55
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:09 | OK | 788 ms | 55 |
Outils exposés (55, réponse à tools/list, 28 nov. 2026)
get_mailbox
Get your agent's real mailing address: street address + mailbox number (PMB) at the Manhattan Beach, CA facility. The PMB number is assigned after USPS Form 1583 verification. Inbound context from addresses the operator already uses arrives through a separate private intake alias for scans, PDFs, photos, provider notices, and notes.
Aucun paramètre.
get_usage
Get usage summary, billing events, and prepaid credit balance for a time period. Returns itemized events (scans, forwards, mail sends) with costs, period totals, and credits. Defaults to the current billing period if no dates are specified. Use this in Cursor/MCP chat when the human asks how many mailbox.bot credits are left; answer with the prepaid balance and explain that only the signed-in human can add funds.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| period_start | string | non | Start of the reporting period in ISO 8601 format. Defaults to current billing period start. |
| period_end | string | non | End of the reporting period in ISO 8601 format. Defaults to now. |
list_inbound_forwarding_addresses
List the renter’s private inbound forwarding aliases on forward.mailbox.bot. These are the unique intake email addresses an operator, assistant, provider, or external agent can forward scans, PDFs, photos, provider notices, notes, and other context-aware documents to so mailbox.bot can build OCR-backed inbound context. Forwarding/emailing attachments here initiates OCR/extraction; this tool discovers the address and does not upload files directly into OCR. The alias is member-scoped, so live and sandbox agent keys for the same member resolve to the same intake address.
Aucun paramètre.
list_inbound_mail
List forwarded inbound mail items captured from private forwarding aliases. Default output includes compact draft_context so an LLM or external agent can reason about OCR context, reply contact candidates, deadlines, and thread linkage before generating outbound mail.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | number | non | Maximum number of inbound items to return (1-100). |
| offset | number | non | Number of inbound items to skip for pagination. |
| category | string | non | Optional category filter such as "Needs review" or "Loan / Mortgage". |
| status | enum: "captured" | "stored" | "extracted" | "needs_review" | "failed" | non | Optional inbound status filter. |
| thread_id | string | non | Only return inbound items linked to this postal mail thread. |
| include | array<enum: "drafting" | "files" | "ocr" | "lineage"> | non | Optional expansions. Defaults to ["drafting"]. Add ocr/lineage only when deeper provenance is needed. |
get_inbound_mail
Get one forwarded inbound mail item with compact draft_context by default. Use this before drafting an outbound reply when you need sender context, reply contact candidates, deadline clues, source files, and thread linkage in one stable payload.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| inbound_mail_id | string | oui | UUID of the inbound mail item to retrieve. |
| include | array<enum: "drafting" | "files" | "ocr" | "lineage" | "signed_urls"> | non | Optional expansions. Defaults to ["drafting"]. Add signed_urls only when the agent truly needs temporary file access. |
| signed_urls | boolean | non | If true, return short-lived signed URLs for stored files. |
list_postal_threads
List physical-mail threads that group inbound mail context, human review, and outbound sends. Use this to understand which inbound items and outbound documents belong to the same business workflow.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | number | non | Maximum number of threads to return (1-100). |
| offset | number | non | Number of threads to skip for pagination. |
| category | string | non | Optional category filter. |
| status | enum: "open" | "waiting" | "closed" | "archived" | non | Optional thread status filter. |
| include | array<enum: "events"> | non | Optional expansions. Add events to include inbound/outbound timeline references. |
get_postal_thread
Get one physical-mail thread with optional timeline events. Use this to explain how a generated outbound mail piece relates back to prior inbound scans and review decisions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| thread_id | string | oui | UUID of the postal mail thread to retrieve. |
| include | array<enum: "events"> | non | Optional expansions. Add events to include inbound/outbound timeline references. |
get_mailbox_md
Returns this agent's MAILBOX.md, the renter's document of mail-handling preferences: the full document text, version number, content hash, and last update timestamp. Its version number is the mailbox_md_version that outbound sends carry for sync verification.
Aucun paramètre.
propose_mailbox_md_edit
Propose a change to the renter's MAILBOX.md, with a reason. The renter sees the suggestion in their dashboard and can accept, reject, or modify it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| suggested_content | string | oui | Full proposed MAILBOX.md content (max 10,000 chars): the complete document, not a diff. |
| reason | string | oui | Why this change is suggested (e.g. "Observed 5 Amazon packages this week, all forwarded manually — adding auto-forward rule"). |
send_facility_message
Send a message to the operator at your mailbox facility. Facility routing is automatic. Messages appear in the shared conversation visible to you, the renter, and the facility. Optionally link the message to a specific package or action request for context.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| body | string | oui | Message text (1-5000 characters). |
| package_id | string | non | Optional: link this message to a specific package for context. |
| action_request_id | string | non | Optional: link this message to an action request for context. |
list_facility_conversations
List your conversation with your mailbox facility, including its unread message count and last message preview. Facility routing is automatic.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | number | non | Maximum number of conversations to return (1-100). Defaults to 20. |
| offset | number | non | Number of conversations to skip for pagination. Defaults to 0. |
get_facility_messages
Read the message thread with your mailbox facility. Facility routing is automatic. Returns messages in reverse chronological order with sender role (member, facility, agent). Supports cursor-based pagination. Automatically marks facility messages as read.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | number | non | Maximum number of messages to return (1-100). Defaults to 50. |
| before | string | non | Cursor: only return messages sent before this ISO 8601 timestamp. Use the oldest message timestamp from the previous page. |
update_webhook
Configure webhook endpoint URL and event subscriptions for real-time notifications. Outbound events are mail.pending_approval, mail.submitted, mail.ready, mail.mailed, mail.delivered, mail.failed, and mail.cancelled. Canonical physical-custody events are inbound.received and inbound.scan_available. The endpoint needs HTTPS and a 2xx response within 10 seconds.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_url | string | non | HTTPS URL that receives webhook POST requests and answers 2xx within 10 seconds. |
| event_types | array<string> | non | Array of event types to subscribe to (e.g. ["mail.mailed", "inbound.received"]). Empty array disables all events. |
| enabled | boolean | non | Set to false to pause webhook delivery without removing the URL. |
send_outbound_mail
Submit a document for printing and postal mailing by the facility. Supported formats: PDF, DOCX, JPG, PNG, TXT, CSV. The document is stored securely and printed by the facility operator. USPS First-Class Mail has a published $2.00 one-page baseline. Extra pages add configured printing plus any postage increase from weight. If an account's normal first-page formula is lower, cost_breakdown.first_class_baseline_adjustment_cents itemizes the difference separately from carrier postage. Published default pricing for other classes is $2.50 handling + $0.40/page B&W printing + carrier postage/rate; exact published one-page prices: priority $14.00, certified $12.00, certified_return_receipt $20.00, certified_priority $20.00, fedex_ground $18.00; FedEx Express Saver, 2Day and Overnight prices are base estimates: the final price, by destination zone (distance) and page count, is shown before it's mailed (dry_run returns it first), and cost_breakdown lists each one's fixed adjustment to its otherwise-calculated price: fedex_express $7.00 below (service_adjustment_cents: -700), fedex_2day $15.00 below (service_adjustment_cents: -1500), fedex_overnight $11.00 above (service_adjustment_cents: 1100); fedex_ground is a flat $18.00 for one page. Color pages cost $0.70/page total by default before handling and postage: $0.40/page base B&W printing plus a $0.30/page additive color upgrade. In cost_breakdown, color_printing_per_page_cents is the total color-page printing price (70 cents by defa…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| document_base64 | string | oui | Base64-encoded document file. Supported formats: PDF, DOCX, JPG, PNG, TXT, CSV. Max 10MB decoded. |
| document_filename | string | non | Original filename with extension (e.g. "letter.docx"). Required for reliable non-PDF format detection. |
| page_count | number | non | Explicit page count for non-PDF documents when exact pagination is known. When supplied for DOCX, TXT, or CSV, it overrides local detection and makes pricing deterministic. |
| mailbox_md_version | number | oui | Your current MAILBOX.md version number. Required for sync verification. |
| recipient_name | string | non | Person name of the mail recipient. Optional when recipient_company is provided. |
| recipient_company | string | non | Company or organization line for the recipient. Optional when recipient_name is provided. |
| recipient_line1 | string | oui | Street address line 1 of the recipient. |
| recipient_line2 | string | non | Street address line 2 (apartment, suite, unit, etc.). |
| recipient_city | string | oui | Recipient city. |
| recipient_state | string | oui | 2-letter US state code (e.g. CA, NY, TX). |
| recipient_zip | string | oui | 5 or 5+4 digit ZIP code (e.g. "90210" or "90210-1234"). |
| recipient_country | string | non | ISO 3166-1 alpha-2 country code. Defaults to "US". |
| return_name | string | non | Return address name. Defaults to the member's profile name if omitted. |
| return_company | string | non | Optional company or organization line for the return address. |
| return_line1 | string | non | Return address line 1. Defaults to member profile if omitted. |
| return_line2 | string | non | Return address line 2 (suite, unit, etc.). |
| return_city | string | non | Return address city. Defaults to member profile if omitted. |
| return_state | string | non | Return address state (2-letter code). Defaults to member profile if omitted. |
| return_zip | string | non | Return address ZIP code. Defaults to member profile if omitted. |
| mail_class | enum: "first_class" | "priority" | "certified" | "certified_return_receipt" | "certified_priority" | "fedex_ground" | "fedex_express" | "fedex_2day" … | non | Postal or carrier service. Use first_class for ordinary lowest-cost USPS letters with no carrier tracking number by default. USPS First-Class Mail has a published $2.00 one-page baseline. Extra pages add configured printing plus any postage increase from weight. If an account's normal first-page fo… |
| delivery_signature | enum: "none" | "indirect" | "direct" | "adult" | "restricted" | non | Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (Fe… |
| color | boolean | non | Color pages cost $0.70/page total by default before handling and postage: $0.40/page base B&W printing plus a $0.30/page additive color upgrade. In cost_breakdown, color_printing_per_page_cents is the total color-page printing price (70 cents by default), while color_surcharge_per_page_cents is the… |
| duplex | boolean | non | Request double-sided printing when operationally possible. Pricing and page_count are based on the detected or supplied document page count; use dry_run=true to preview exact cost. |
| package_id | string | non | Link this mail to an inbound package (e.g. replying to received correspondence). |
| inbound_capture_id | string | non | Optional inbound mail item this outbound piece is replying to. Recommended when drafting from OCR/forwarded-mail context. |
| postal_mail_thread_id | string | non | Optional physical-mail thread to attach this outbound mail to. Lets agents keep inbound and outbound activity in one durable workflow. |
| agent_notes | string | non | Notes for the facility staff (e.g. "Time-sensitive — mail today"). |
| requires_approval | boolean | non | If true, the mail waits for the renter's approval in their dashboard before it is printed and sent. |
| metadata | object | non | Arbitrary key-value pairs echoed in GET responses and webhooks. Recommended convention: { "workflow_id": "wf_123", "reason": "Customer cancellation", "correlation_id": "abc" }. |
| dry_run | boolean | non | Validate inputs and return cost breakdown without creating a record or spending credits. Use to preview required credits before committing. |
| max_cost_cents | integer | non | Cost cap in cents. If the calculated cost exceeds this, the request is rejected with 422 before credits are spent. Prevents accidental expensive mailings. |
list_outbound_mail
List outbound mail jobs with status tracking. Returns mail ID, recipient, mail class, status, cost, timestamps, and failure metadata. Filter by status, created_at date range, or search recipient/address/tracking/agent notes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| status | enum: "pending_approval" | "submitted" | "ready" | "mailed" | "delivered" | "failed" | "cancelled" | non | Filter by mail status. "pending_approval" = awaiting human approval, "submitted" = queued for facility, "ready" = printed and ready to mail, "mailed" = in transit, "delivered" = confirmed delivery, "failed" = failure bucket, "cancelled" = cancelled before mailing. Use carrier_delivery_failed/failur… |
| q | string | non | Search recipient name, address lines, city/state/ZIP, tracking number, or agent notes. |
| created_after | string | non | Filter mail created at or after this ISO 8601 datetime or YYYY-MM-DD date. |
| created_before | string | non | Filter mail created at or before this ISO 8601 datetime or YYYY-MM-DD date. Date-only values include the whole UTC day. |
| test_mode | boolean | non | Filter sandbox/test records. Defaults to the key environment for agent-scoped keys; member keys can pass true or false explicitly. |
| limit | number | non | Maximum number of mail jobs to return (1-100). Defaults to 20. |
| offset | number | non | Number of mail jobs to skip for pagination. Defaults to 0. |
get_outbound_mail
Get full details of an outbound mail job including recipient address, mail class, page count, cost breakdown, current status, failure metadata, document metadata, and fulfillment photos. Legacy plaintext records may include direct document URLs; encrypted source documents are retrieved through the REST document endpoint with document.read scope.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| mail_id | string | oui | UUID of the outbound mail job to retrieve. |
cancel_outbound_mail
Cancel a queued outbound mail job before facility printing starts. If the mail was funded with prepaid credits, eligible credits are returned to the member ledger. Safe to retry: already-cancelled mail returns cancelled status without creating a duplicate refund. In chat, report cancellation status, returned credits, updated balance, and whether it had already been cancelled. If a transient error occurs, poll the mail status and credits before retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| mail_id | string | oui | UUID of the queued outbound mail job to cancel. |
create_test_outbound_mail
Create a sandbox outbound mail record without uploading a real document. The record is always test_mode=true, cost_cents=0, includes estimated_live_cost_cents and cost_breakdown, and queues a mail.submitted webhook. USPS First-Class Mail has a published $2.00 one-page baseline. Extra pages add configured printing plus any postage increase from weight. If an account's normal first-page formula is lower, cost_breakdown.first_class_baseline_adjustment_cents itemizes the difference separately from carrier postage. Color pages cost $0.70/page total by default before handling and postage: $0.40/page base B&W printing plus a $0.30/page additive color upgrade. In cost_breakdown, color_printing_per_page_cents is the total color-page printing price (70 cents by default), while color_surcharge_per_page_cents is the additive upgrade only (30 cents by default). Account-specific pricing can override these defaults; cost_breakdown is authoritative. FedEx and UPS estimates use the same configured origin and destination zone/region logic as production: FedEx Express Saver, 2Day and Overnight prices are base estimates by destination zone (distance) and page count, and cost_breakdown lists fedex_express $7.00 below its otherwise-calculated price (service_adjustment_cents: -700), fedex_2day $15.00 below (service_adjustment_cents: -1500) and fedex_overnight $11.00 above (service_adjustment_cents: 1100); fedex_ground is a flat $18.00 for one page. Use with a sandbox key to rehearse outbound workf…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| recipient_name | string | non | Recipient name for the simulated mailpiece. Optional when recipient_company is provided. |
| recipient_company | string | non | Company or organization line for the simulated mailpiece. Optional when recipient_name is provided. |
| recipient_line1 | string | non | Recipient street line 1. |
| recipient_city | string | non | Recipient city. |
| recipient_state | string | non | Recipient 2-letter state code. |
| recipient_zip | string | non | Recipient ZIP code. Affects estimated live postage, private-carrier zone, and FedEx local/regional/national area. |
| mail_class | enum: "first_class" | "priority" | "certified" | "certified_return_receipt" | "certified_priority" | "fedex_ground" | "fedex_express" | "fedex_2day" … | non | Mail class to simulate. Postal or carrier service. Use first_class for ordinary lowest-cost USPS letters with no carrier tracking number by default. USPS First-Class Mail has a published $2.00 one-page baseline. Extra pages add configured printing plus any postage increase from weight. If an accoun… |
| delivery_signature | enum: "none" | "indirect" | "direct" | "adult" | "restricted" | non | Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (Fe… |
| page_count | number | non | Simulated page count used for pricing. |
| color | boolean | non | Color pages cost $0.70/page total by default before handling and postage: $0.40/page base B&W printing plus a $0.30/page additive color upgrade. In cost_breakdown, color_printing_per_page_cents is the total color-page printing price (70 cents by default), while color_surcharge_per_page_cents is the… |
| agent_notes | string | non | Optional facility/operator notes for the simulated mailpiece. |
| metadata | object | non | Arbitrary metadata echoed in responses and webhooks. |
advance_test_outbound_mail
Advance a test_mode outbound mail record one lifecycle step and queue the matching webhook. submitted becomes ready with simulated pages/envelope photos; ready becomes mailed with carrier, dispatch method, receipt photo, and tracking when the selected service includes tracking; mailed becomes delivered.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| mail_id | string | oui | UUID of the test_mode outbound mail record to advance. |
list_agent_inbox
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. List/search current assigned postal mail using the same /v1/agent-inbox service. q is literal AND search of IDs, stored metadata and authorized stored OCR (NFKC/lowercase, max 200 characters and 12 terms), before pagination; nonempty q additionally needs agent.read. When indexed-source reads are enabled for the account, indexed search includes saved exterior and requested-content pages, including later sample captures. Optional received_after (inclusive) and received_before (exclusive) require that rollout and both read scopes; they filter the stored intake timestamp, not a date printed on a letter. Sender and address keywords match through q and OCR text; there is no separate sender field. Returns metadata, not text. No fuzzy search or new OCR. Sandbox sees isolated fixtures and enabled assigned member samples; Live sees approved assigned private mail. Pagination uses pagination.next_offset up to offset 10000. Required scopes: agent.inbox.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| q | string | non | Literal AND search: matches items where every term (max 12, 200 characters, NFKC-normalized and lowercased) appears in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal. |
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
| received_after | string | non | Inclusive intake time (ISO 8601 with offset): when the facility logged the item, not a printed date. |
| received_before | string | non | Exclusive intake time (ISO 8601 with offset); later than received_after. |
get_agent_inbox_context
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Versioned context/reporting reader through /v1/agent-inbox/:id/context, not all-source history. Member-sample context is the original envelope/letter, not later facility captures. Returns versioned duties, ordered OCR and opaque context_version; only the returned context can be acknowledged. Records retrieval, not processing or facility completion. OCR text comes from the mail piece; missing, pending and failed text are reported as such. No provider call or signed image URL. Required scopes: agent.inbox.read, agent.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
get_agent_inbox_sources
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Read one assigned item's saved page OCR through GET /v1/agent-inbox/:id/sources: exterior, requested-content and original sample_letter pages, each with page_id, request_id/bundle_id, source_sha256 and review flags. Requires assigned-inbox and indexed-source reads enabled for the account, plus agent.inbox.read + agent.read. Field meanings and sort order are in outputSchema. Pages: limit 1–50 (default 25), offset 0–10000; has_more marks more pages. Rate limited; a 429 may carry Retry-After. Creates no acknowledgment version, extraction, receipt, provider call, signed image URL, email or charge. Managed-PMB custody and forwarded email remain separate and excluded. Required scopes: agent.inbox.read, agent.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
list_agent_inbox_scans
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. List/search completed facility-captured scan jobs for this assigned member sample through /v1/agent-inbox/:id/scans. Sandbox agent key only, with both read scopes even without q. q is literal AND search of saved capture identifiers and authorized captured-page OCR, normalized NFKC/lowercase, max 200 characters and 12 terms, before pagination. Returns request_id, bundle_id, page count and OCR status, not text. Pagination uses pagination.has_more with offset plus scans.length, up to offset 10000. A completed scan may have null, queued, processing, ready, needs_review or failed OCR; completion is not extraction success. Separate from seeded sample /context; after indexed rollout, item search also includes these captures. No provider, retry, acknowledgment or receipt is triggered. Required scopes: agent.inbox.read, agent.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| q | string | non | Literal AND search: matches items where every term (max 12, 200 characters, NFKC-normalized and lowercased) appears in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal. |
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
get_agent_inbox_scan
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Read one exact completed facility capture and its saved page OCR through /v1/agent-inbox/:id/scans/:operationId. Sandbox agent key assigned to the member sample only. operationId is the capture's request_id, not a page or bundle ID. Returns scan/ocr page IDs, order, source_sha256 and OCR status (null, queued, processing, ready, needs_review or failed). These captures are separate from seeded sample /context and have no context_version, so they cannot be acknowledged as an outcome. No image URLs, OCR trigger, retry, receipt, email or charge. Required scopes: agent.inbox.read, agent.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| request_id | string | oui | The capture's request_id, as listed for the member sample's scans. |
get_agent_inbox_activity
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Read current authorized inbox retrieval receipts and agent-reported outcomes through /v1/agent-inbox/activity. Optional item_id filters one item; needs agent.inbox.read. Sample activity also needs agent.read. A receipt is not proof a worker followed its duties or that staff completed handling. Required scopes: agent.inbox.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | non | Optional inbound item id (UUID); narrows the timeline to one item. |
| limit | integer | non | Page size, 1–50 (default 25). |
report_agent_inbox_outcome
Deprecated: no successor; retired when the alias window closes. Still served unchanged until then. Report actual external-worker processing through /v1/agent-inbox/:id/acknowledgments. Takes the exact fetched context_version, outcome and non-sensitive run_id in request. Needs agent.inbox.report plus both read scopes. A retry with the same idempotency_key and request replays the stored result. Reports cannot approve or complete facility handling. Required scopes: agent.inbox.read, agent.read, agent.inbox.report. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| request | object | oui | Outcome report: the context_version returned with the item's context, outcome (processed, needs_review or failed) and your run_id. |
| idempotency_key | string | oui | Caller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused. |
get_agent_inbox_handling
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Read /v1/agent-inbox/:id/handling capabilities, version and history. Gated private-mail Live and member-sample Sandbox workflow only; no generated fixtures or managed-PMB fallback. Server chooses source and facility. Handling version is distinct from OCR context_version. Vault is unavailable; physical scans retain the existing owner-confirmed workflow. Required scopes: agent.inbox.read, agent.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
propose_agent_inbox_handling
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Propose through /v1/agent-inbox/:id/handling with dedicated agent.inbox.propose and read scopes. Requests carry confirmed:false and destructive_confirmed:false and the item's current handling version; humans approve before the paired facility queue or alert. Forward requires complete US destination and mail class; discard needs subsequent owner/staff confirmation. Sample open_and_scan is TEST training, not paid OCR. A retry with the identical idempotency_key, body and original expected_version replays safely. Cannot self-approve, dispatch postage, charge, destroy or complete work. Required scopes: agent.inbox.read, agent.read, agent.inbox.propose. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| request | object | object | object | oui | Handling proposal: action_type open_and_scan, forward_original (with destination; mail_class defaults to priority and first_class needs untracked_acknowledged) or discard_original, with the item's expected_version and confirmed. The member approves before facility staff act. |
| idempotency_key | string | oui | Caller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused. |
seed_agent_inbox_sandbox
Deprecated: no successor; retired when the alias window closes. Still served unchanged until then. Explicitly seed an isolated provider-free two_page_letter or needs_review fixture through /v1/agent-inbox/sandbox/seed. Sandbox agent key only. Exact retry key/scenario reuses the fixture. No member sample, real mail, model call, email, facility task, PMB or charge; these fixtures test reads/reports, not handling. Required scopes: agent.inbox.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scenario | enum: "two_page_letter" | "needs_review" | oui | Fixture to seed: two_page_letter or needs_review. Sandbox agent keys only; the same key and scenario reuse the fixture. |
| idempotency_key | string | oui | Caller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused. |
list_webhook_endpoints
List the member's webhooks (name, URL, events, keyword rules, status), without secrets. Legacy agent callback settings are separate. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
Aucun paramètre.
create_webhook_endpoint
Create a webhook: name, public HTTPS URL, events (inbound.received, inbound.action.requested, inbound.action.completed, inbound.pages_ready, inbound.keywords_matched) and optional keyword rules (literal terms, any/all, exclusions). Active on save. Returns the whsec_ signing secret once, for the receiver's secure configuration. Agent keys can only create endpoints for their own agent_id and environment; member keys may use agent_id:null for account scope. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Label shown in the dashboard and delivery log. |
| url | string | oui | Public HTTPS URL on port 443 (no credentials, fragment or private host) that receives the signed POSTs. |
| agent_id | string | null | oui | Agent keys: your own agent id. Member keys: an agent id, or null for account scope. |
| environment | enum: "live" | "test" | oui | live or test. Agent keys can only use their own environment; an endpoint only receives events from its environment. |
| event_types | array<enum: "inbound.received" | "inbound.action.requested" | "inbound.action.completed" | "inbound.pages_ready" | "inbound.keywords_matched" | "mail.pending_approval" | "mail.submitted" | "mail.ready" …> | oui | Events to deliver (1–32, unique). Inbound mail: inbound.received, inbound.action.requested, inbound.action.completed, inbound.pages_ready, inbound.keywords_matched. Outbound mail: mail.pending_approval, mail.submitted, mail.ready, mail.mailed, mail.delivered, mail.failed, mail.cancelled. Batches: b… |
| rules | array<object> | oui | Up to 10 keyword rules, each with a unique id: source (envelope, letter for the contents, or any), match (any or all), 1–20 terms and optional exclude_terms. inbound.keywords_matched fires when a rule matches. |
| idempotency_key | string | oui | A UUID for this one intent; the same key replays the identical request. |
update_webhook_endpoint
Update name, URL, events, keyword rules or active/paused status with expected_revision. Agent/environment scope cannot be changed. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | non | Label shown in the dashboard and delivery log. Omit to keep the current value. |
| url | string | non | Public HTTPS URL on port 443 (no credentials, fragment or private host) that receives the signed POSTs. Omit to keep the current value. |
| event_types | array<enum: "inbound.received" | "inbound.action.requested" | "inbound.action.completed" | "inbound.pages_ready" | "inbound.keywords_matched" | "mail.pending_approval" | "mail.submitted" | "mail.ready" …> | non | Events to deliver (1–32, unique). Inbound mail: inbound.received, inbound.action.requested, inbound.action.completed, inbound.pages_ready, inbound.keywords_matched. Outbound mail: mail.pending_approval, mail.submitted, mail.ready, mail.mailed, mail.delivered, mail.failed, mail.cancelled. Batches: b… |
| rules | array<object> | non | Up to 10 keyword rules, each with a unique id: source (envelope, letter for the contents, or any), match (any or all), 1–20 terms and optional exclude_terms. inbound.keywords_matched fires when a rule matches. Omit to keep the current value. |
| status | enum: "active" | "paused" | non | active or paused. Omit to keep the current value. |
| expected_revision | integer | oui | The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten. |
| idempotency_key | string | oui | A UUID for this one intent; the same key replays the identical request. |
| endpoint_id | string | oui | Webhook endpoint id (UUID). |
test_webhook_endpoint
Queue a synthetic webhook.test delivery (no item) to check the receiver and its signature verification. Queue admission is not HTTP delivery; the delivery log shows the result. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| expected_revision | integer | oui | The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten. |
| idempotency_key | string | oui | A UUID for this one intent; the same key replays the identical request. |
| endpoint_id | string | oui | Webhook endpoint id (UUID). |
test_webhook_endpoint_with_sample
Run the Sample test: opens and scans the member's Mojave sample letter if needed (free, fictional), delivers its real inbound.pages_ready / inbound.keywords_matched events to this webhook, and returns a verdict computed from the receiver's actual HTTP result plus a next step. success proves transport receipt and, when keywords are configured, a keyword match; it never proves agent processing. No mail, charge, email or facility work. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| expected_revision | integer | oui | The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten. |
| idempotency_key | string | oui | A UUID for this one intent; the same key replays the identical request. |
| endpoint_id | string | oui | Webhook endpoint id (UUID). |
rotate_webhook_endpoint_secret
Rotate the signing secret; requires confirm_rotation:true. Old signatures overlap for 24 hours while the receiver's secure secret configuration is updated. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| expected_revision | integer | oui | The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten. |
| idempotency_key | string | oui | A UUID for this one intent; the same key replays the identical request. |
| endpoint_id | string | oui | Webhook endpoint id (UUID). |
| confirm_rotation | boolean | oui | true confirms the rotation. The old secret keeps verifying for 24 hours. |
list_webhook_deliveries
Read the latest 50 deliveries and their exact JSON payloads (identifiers, sender line, dates, matched terms; never page text) for one webhook. HTTP 2xx delivered means receipt, not external-agent processing. No signing secrets or receiver response body. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| endpoint_id | string | oui | Webhook endpoint id (UUID). |
replay_webhook_delivery
Explicitly retry a failed delivery after correcting the receiver. Preserves event_id for deduplication and rechecks the current endpoint revision. Does not replay successful deliveries or approve facility handling. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| expected_revision | integer | oui | The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten. |
| idempotency_key | string | oui | A UUID for this one intent; the same key replays the identical request. |
| endpoint_id | string | oui | Webhook endpoint id (UUID). |
| delivery_id | string | oui | A failed delivery's id; successful deliveries are not replayed. |
list_inbound_items
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Search managed-renter physical mail through GET /v1/inbound-items?search_mode=documents. q uses literal AND terms across authorized saved metadata, exterior OCR and completed requested inside-page OCR (NFKC/lowercase, max 200 characters and 12 terms). Terms may match different pages of one item. received_after is inclusive and received_before exclusive; these filter intake time, not a printed letter date. status and kind narrow canonical item metadata. Sender and address terms match through q; there are no separate sender fields. Returns item metadata and canonical owner/mailbox identity, not page text. Saved-data reads only: no extraction, retry, signed image URL, facility action, provider call, email or charge. Exterior automation and authorized inside-page extraction have independent activation that these readers leave unchanged. Limit 1–50 (default 25), offset 0–10000; pagination.has_more marks more results. Results are not snapshot-consistent. Rate limited; a 429 may carry Retry-After. No new exterior-ready webhook or unbounded export is promised. Requires saved-document reads enabled for the account, an active eligible managed mailbox, and both inbound.item.read and inbound.item.scan.read, even for empty searches. Live member keys are owner-scoped; Live agent keys see only their current assigned mail. No facility, Sandbox or package.read compatibility access. A…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| received_after | string | non | Inclusive canonical intake time (RFC3339 with timezone, up to six fractional-second digits); not a date printed in a letter. |
| received_before | string | non | Exclusive canonical intake time (RFC3339 with timezone, up to six fractional-second digits); not a date inferred from OCR. |
| status | enum: "received" | "stored" | "held" | "forwarding" | "forwarded" | "returning" | "returned" | "shredded" … | non | Only items in this custody status. |
| kind | enum: "letter" | "flat" | "parcel" | non | Only items of this kind. |
| q | string | non | Literal AND search of authorized saved metadata and OCR; NFKC/lowercase, at most 200 characters and 12 terms. No fuzzy search or new extraction. |
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
get_inbound_item_sources
Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. Read saved exterior and authorized completed inside-page evidence through GET /v1/inbound-items/:id/sources. Results are grouped by item.id/reference_code and owner mailbox, then request_id/bundle_id, then page_number (up to 100). owner identifies the member/renter, assigned agent, facility, canonical mailbox record/public ID and PMB allocation/number. PMB numbers are facility-scoped and come from verified mailbox records, not OCR. Each page carries page_id, source_sha256, status and uncertain_spans. Missing, queued, failed, blank and needs_review are distinct; scan completion does not prove readable text. Reads have no context_version or acknowledgment authority. Saved-data reads only: no extraction, retry, signed image URL, facility action, provider call, email or charge. Exterior automation and authorized inside-page extraction have independent activation that these readers leave unchanged. Limit 1–50 (default 25), offset 0–10000; pagination.has_more marks more results. Results are not snapshot-consistent. Rate limited; a 429 may carry Retry-After. No new exterior-ready webhook or unbounded export is promised. Requires saved-document reads enabled for the account, an active eligible managed mailbox, and both inbound.item.read and inbound.item.scan.read, even for empty searches. Live member keys are owner-scoped; Live agent keys see only their current assigned mail.…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
search_inbound_items
List and search inbound mail through GET /v1/inbound-items, the same list and search the dashboard shows: newest first, with public status, kind (letter | package), the sender line as read from the envelope, the envelope page and any open action. q is a literal AND search (max 12 terms, 200 characters) over the reference, the sender and the OCR text of every readable page, envelope or contents; status, kind, received_after and received_before (intake time) narrow it. Sandbox keys (sk_agent_test_) see the account's sample letter from Mojave Land Partners (q: "Mojave" finds it); an empty result carries a notice explaining why. Key scope: inbound.item.read (agent.inbox.read also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| q | string | non | Literal AND search: matches items where every term (max 12, 200 characters, NFKC-normalized and lowercased) appears in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal. |
| status | enum: "draft" | "received" | "action_requested" | "in_progress" | "scanned" | "forwarded" | "discarded" | "exception" | non | Only items in this public status. |
| kind | enum: "letter" | "package" | non | letter or package. |
| received_after | string | non | Inclusive intake time (ISO 8601 with offset): when the facility logged the item, not a printed date. |
| received_before | string | non | Exclusive intake time (ISO 8601 with offset); later than received_after. |
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
get_inbound_item
Read one inbound item through GET /v1/inbound-items/:id: canonical status, sender (staff-entered or exterior OCR guess), mailbox PMB, assigned agent, every saved page (exterior, interior, evidence) with OCR status and text when ready, the full action history, and current scan/forward quotes. signed_urls: true adds one-hour page image URLs on live keys (sandbox keys get url: null); page text is OCR of the mail itself. Key scope: inbound.item.read (agent.inbox.read also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| signed_urls | boolean | non | true adds one-hour page image URLs on live keys; sandbox keys always get url: null. |
get_inbound_pages
Read an item's scanned pages through GET /v1/inbound-items/:id/pages: exterior (the envelope, present from arrival) and interior pages (after a completed Open & scan), each with ocr_status, the page's OCR text when ready or needs_review, is_blank and uncertain_spans. signed_urls: true adds one-hour image URLs on live keys (sandbox keys always get url: null). Key scope: inbound.item.read (agent.inbox.read also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| kind | enum: "exterior" | "interior" | "evidence" | non | Page kind: exterior (the envelope, from arrival), interior (after a completed Open & scan) or evidence. |
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
| signed_urls | boolean | non | true adds one-hour page image URLs on live keys; sandbox keys always get url: null. |
quote_inbound_forward
Price every forwarding class for an item to a US ZIP through GET /v1/inbound-items/:id/forward-quote: cost_cents = carrier postage from the facility plus handling, with the breakdown, tracking notes and bill timing. A proposal for the chosen class echoes it as action.expected_quote { cost_cents, billable, max_cents: cost_cents }; on a sample or test item cost_cents is 0 and live_cost_cents shows the real price. Key scope: inbound.item.read (agent.inbox.read also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| postal_code | string | oui | Destination ZIP (5 or ZIP+4) to price every forwarding class to. |
request_inbound_action
Propose a scan, forward or discard through POST /v1/inbound-items/:id/actions. Agent keys only; the proposal always waits for the owner's approval (awaiting_member_approval: true) and never charges credits or moves mail by itself. Takes the item's current version as action.expected_version, its current quote as action.expected_quote (the item's quotes.scan, or the forward quote for the chosen class; required for scan and forward, refused with the fresh quote otherwise), an idempotency_key that makes retries safe, and for forward a complete US destination and mail_class (first_class requires untracked_acknowledged: true; packages cannot be forwarded yet). Forward destinations and discard proposals are checked against the agent's inbound_policy server-side. One open action per item. Key scope: inbound.item.action (agent.inbox.propose also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | oui | Inbound item id (UUID) from a list or search result. |
| action | object | object | object | oui | The proposal: type scan, forward or discard, with expected_version (the item's current version). scan and forward also take expected_quote {cost_cents, billable, max_cents}: the item's current scan quote, or the forward quote for the chosen class. forward adds a US destination on the renter's Form… |
| idempotency_key | string | oui | Caller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused. |
get_inbound_activity
Read the inbound timeline through GET /v1/inbound-activity: received, action proposed/requested/started/completed/rejected events for this key's visible items, newest first. Optional item_id narrows to one item. A row proves the event was recorded, not OCR accuracy or physical completion. Key scope: inbound.item.read (agent.inbox.read also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| item_id | string | non | Optional inbound item id (UUID); narrows the timeline to one item. |
| limit | integer | non | Page size, 1–50 (default 25). |
| offset | integer | non | Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot. |
quote_outbound_mail
Price a letter before you have the document. Takes the mail class, page count, color and, for FedEx Express Saver, 2Day or Overnight, the recipient ZIP; returns mailbox.bot's published price for a new account with its breakdown, in US dollars. Needs no account and creates nothing. The dry run of the real document is the exact price for an account.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| mail_class | enum: "first_class" | "priority" | "certified" | "certified_return_receipt" | "certified_priority" | "fedex_ground" | "fedex_express" | "fedex_2day" … | oui | USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (on First-Class Mail, 1-5 business days, USPS tracking plus proof of mailing and delivery), certified_return_receipt (on First-Class Mail, certified plus electronic return receipt), certifi… |
| page_count | integer | non | Printed pages. Default 1. |
| color | boolean | non | Color printing. Default black and white. |
| recipient_zip | string | non | 5-digit US ZIP of the recipient. FedEx Express Saver, 2Day and Overnight prices depend on it; USPS letter and FedEx Ground prices are the same for every ZIP. |
| delivery_signature | enum: "none" | "indirect" | "direct" | "adult" | "restricted" | non | Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (Fe… |
send_text_letter
Mail a letter written as plain text, for letters composed in chat. mailbox.bot sets the text exactly as given on US Letter pages (Times 12 pt, 1-inch margins; no letterhead, logo or signature image) and submits it through the same outbound mail service, so the same scopes, approval, cost caps and proof apply and staff print and mail it. dry_run: true returns the exact cost without sending; with a live key this spends the account owner's prepaid credits, and a key that requires approval holds the letter until the owner approves it in the dashboard. Requires the current mailbox_md_version. Up to 15,000 characters of Latin text; plain text only, with no PDF, letterhead or images.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| letter_text | string | oui | The full letter as plain text: date, greeting, body and sign-off as they will print. Line breaks are kept. |
| mailbox_md_version | number | oui | Current MAILBOX.md version number. Required. |
| mail_class | enum: "first_class" | "priority" | "certified" | "certified_return_receipt" | "certified_priority" | "fedex_ground" | "fedex_express" | "fedex_2day" … | oui | USPS: first_class (no carrier tracking; mailbox.bot records photo proof), priority (USPS Tracking), certified (on First-Class Mail, 1-5 business days, USPS tracking plus proof of mailing and delivery), certified_return_receipt (on First-Class Mail, certified plus electronic return receipt), certifi… |
| delivery_signature | enum: "none" | "indirect" | "direct" | "adult" | "restricted" | non | Optional signature on delivery for a single letter (batch mail has none). FedEx classes: indirect (FedEx Indirect Signature Required, $8.00: someone at the address, a neighbor, or the recipient on a signed door tag); direct (FedEx Direct Signature Required, $8.50: someone at the address); adult (Fe… |
| recipient_name | string | non | Recipient name. |
| recipient_company | string | non | Recipient company or organization line. |
| recipient_line1 | string | oui | Recipient street address. |
| recipient_line2 | string | non | Suite, unit or floor. |
| recipient_city | string | oui | Recipient city. |
| recipient_state | string | oui | Recipient state, 2 letters. |
| recipient_zip | string | oui | Recipient ZIP code. |
| return_name | string | non | Return name. Defaults to the account's saved return address. |
| return_company | string | non | Return company line. |
| return_line1 | string | non | Return street address. Defaults to the account's saved return address. |
| return_line2 | string | non | Return suite or unit. |
| return_city | string | non | Return city. |
| return_state | string | non | Return state, 2 letters. |
| return_zip | string | non | Return ZIP code. |
| dry_run | boolean | non | true returns the exact cost and checks without creating, charging or mailing anything. |
| requires_approval | boolean | non | true holds the letter until the owner approves it in the dashboard. |
| max_cost_cents | integer | non | Refuse the letter if it would cost more than this, in cents. |
| metadata | object | non | Your own reference fields, echoed back in status and webhooks. |
| agent_notes | string | non | Notes for the owner and the facility. |
estimate_batch_mail
Price a batch before any file exists. Per piece: printing, card stock or paper, the envelope where one is used, the address label, handling and USPS postage. First-Class: 4×6 postcard $1.05, 6×9 postcard $1.35 (both sides in full color; a one-page design gets an address side printed with the return address), letter $1.15 (1 sheet) or $1.35 (2–3 sheets), flyer $1.15, pamphlet $1.95 (4–8 pages) or $2.75 (9–16 pages). Marketing Mail (200+ recipients, not open yet): postcards 85¢, letters and flyers 89¢, pamphlets $1.75. Color on letters, flyers and pamphlets adds 16¢ per color page; duplex is included (two pages per sheet). Volume: 5 % off at 500+, 10 % at 1,000+. No piece is priced below its minimum, our cost to make and mail it plus 5¢: two-sided color, extra sheets, the volume discount and account prices all stop there, and the estimate says when it applied. Postcards from 1 piece (a $2.00 small-batch fee under 10); letters, flyers and pamphlets from 10 (fewer: POST /v1/mail); up to 10,000 per batch. The estimate is the exact amount confirm debits. Sandbox keys get the same numbers with credits_required_cents 0.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| mail_type | enum: "postcard_4x6" | "postcard_6x9" | "letter" | "flyer" | "pamphlet_light" | "pamphlet_heavy" | oui | postcard_4x6, postcard_6x9, letter (1–3 pages, 6 with duplex), flyer (1 page), pamphlet_light (4–8 pages), pamphlet_heavy (9–16 pages). |
| mailing_class | enum: "first_class" | "marketing_mail" | non | first_class (USPS First-Class Mail, 1–5 days, forwarded and returned; the default) or marketing_mail (USPS Marketing Mail, 3–10 days, 200+ recipients; not open until the facility's USPS permit is active). The class is USPS postage, not a description of the content: USPS requires bills, statements a… |
| quantity | integer | oui | Recipients: postcards from 1 (a $2.00 small-batch fee under 10), letters, flyers and pamphlets from 10 (fewer go as single letters); up to 10,000. |
| page_count | integer | non | Pages in the template PDF (1 for an image). Default 1. |
| color | boolean | non | Color printing for letters, flyers and pamphlets, charged per color page. Postcards are always full color. |
| duplex | boolean | non | Print both sides of each sheet. Default false. |
| stock | enum: "standard" | "weatherproof" | non | standard (default) or weatherproof: tear- and water-resistant synthetic sheets for notices and small signs posted outdoors, letters and flyers only, +85¢ per sheet. |
| insert_stock | enum: "paper" | "weatherproof" | "label_sheet" | non | The insert's stock: paper (+30¢), weatherproof (+95¢) or label_sheet, one full 8.5 × 11 in weatherproof sticker printed on one side (+$1.45). Per piece; letters, flyers and pamphlets only. |
| insert_pages | integer | non | Printed pages of the insert: 1, or 2 for both sides (a sticker sheet is 1). Default 1. |
create_batch_mail
Create a batch draft from a template link and a recipient list; nothing is charged. template_url is a public https:// link to a PDF at the mail type's size, or to a PNG/JPG postcard graphic that is set on a page at that size (design 4×6 in at 300 dpi = 1200×1800 px). Recipients go inline (an array of {name, line1, line2, city, state, zip}; company accepted) or as recipients_url, a CSV link. Malformed rows and duplicates are skipped and listed, never charged. A one-page postcard gets an address side printed with the return address. Field kits, all optional: every other recipient key (or a nested fields object) is a field, printed by {{tag}} in message or qr.url (fallback: {{tag|text}}) and into PDF form fields of the same name; qr puts a code unique to each piece on it (link opens qr.url, confirm opens a one-button mailbox.bot page, verify proves the recipient gets mail at the address: a QR code plus a short code the person enters where they are signed in, your app via POST /v1/batch-mail/verify with their ref, or read back to the owner for the dashboard; set qr.url to that page and a scan opens it with the code filled in), with scans and confirmations per piece on the batch record and as batch.piece.scanned / batch.piece.confirmed webhooks (a "ref" key on each recipient comes back with them); stock weatherproof, one printed insert (insert_url + insert_stock) and mail_on (a date to mail on) as well. The result carries the exact price, the first recipients and any image warnin…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| job_name | string | oui | A name the owner will recognise in the dashboard and in emails, e.g. "Spring open house postcards". |
| mail_type | enum: "postcard_4x6" | "postcard_6x9" | "letter" | "flyer" | "pamphlet_light" | "pamphlet_heavy" | oui | postcard_4x6, postcard_6x9, letter (1–3 pages, 6 with duplex), flyer (1 page), pamphlet_light (4–8 pages), pamphlet_heavy (9–16 pages). |
| mailing_class | enum: "first_class" | "marketing_mail" | non | first_class (USPS First-Class Mail, 1–5 days, forwarded and returned; the default) or marketing_mail (USPS Marketing Mail, 3–10 days, 200+ recipients; not open until the facility's USPS permit is active). The class is USPS postage, not a description of the content: USPS requires bills, statements a… |
| template_url | string | non | Public https:// link to the template (PDF, PNG or JPG, ≤10 MB). Signed cloud-storage links, CDN and GitHub raw URLs work; links that need a login, private hosts and IP addresses are refused. Required, except for a letter sent as message. |
| message | string | non | Optional text with {{tags}}. On a letter it is the letter itself (Times 12 pt, 1 in margins; send no template_url). On a postcard it prints on the address side mailbox.bot adds, so the template is the front only; the text has to fit once each recipient's fields are filled in. |
| qr | object | non | Optional: a QR code unique to each piece, https://mailbox.bot/q/ . Postcards: on the address side, bottom left. Letters and inserts: bottom right of page 1 (keep about 3 × 1 in clear). Scans store counts and times only. |
| stock | enum: "standard" | "weatherproof" | non | standard (default) or weatherproof: tear- and water-resistant synthetic sheets for notices and small signs posted outdoors, letters and flyers only, +85¢ per sheet. |
| insert_url | string | non | Optional public https:// link to one insert sheet (PDF, PNG or JPG, US Letter, 1 or 2 pages) packed with every letter, flyer or pamphlet. Its PDF form fields named like your keys are filled per recipient. |
| insert_stock | enum: "paper" | "weatherproof" | "label_sheet" | non | The insert's stock: paper (+30¢), weatherproof (+95¢) or label_sheet, one full 8.5 × 11 in weatherproof sticker printed on one side (+$1.45). Per piece; letters, flyers and pamphlets only. |
| mail_on | string | non | Optional date to mail on, YYYY-MM-DD (Pacific time), today to 60 days ahead. The facility mails on or after it. |
| recipients | array<object> | non | Inline recipients, up to 10,000 (postcards from 1, other types from 10). Skipped rows are reported by position (1 = first). Send this or recipients_url, not both. |
| recipients_url | string | non | Public https:// link to a recipients CSV (columns name, address, address2, city, state, zip; ≤5 MB). Send this or recipients, not both. |
| column_map | object | non | For recipients_url only, when the CSV headers are not recognised: field (name, line1, line2, city, state, zip) → the header text in the file. |
| color | boolean | non | Color printing for letters, flyers and pamphlets, charged per color page (postcards are always full color). Default false. |
| duplex | boolean | non | Print both sides of each sheet. Default false. |
| mailbox_md_version | number | oui | Current MAILBOX.md version number. Required for agent keys. |
| return_name | string | non | Return name. Defaults to the account's saved return address. |
| return_company | string | non | Return company line. |
| return_line1 | string | non | Return street address. Defaults to the account's saved return address. |
| return_line2 | string | non | Return suite or unit. |
| return_city | string | non | Return city. |
| return_state | string | non | Return state, 2 letters. |
| return_zip | string | non | Return ZIP code. |
get_batch_mail_proof
A proof for the person checking the batch: a one-hour link to a PDF of the template as recipient N's piece prints (their fields filled in, the QR code where it goes, a sample code until the pieces exist, and the insert), then the address label the facility applies at its real size, next to the return address. Also returns the label's lines as text. proof_url opens in any browser or IDE for an hour, with no key, so the person checking the batch can see it before the batch is confirmed. (links.proof on the batch is the API route itself and needs the API key.)
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| batch_id | string | oui | The batch's id (UUID). |
| recipient | integer | non | Which valid recipient to proof, 1-based. Default 1. |
confirm_batch_mail
Pay for a draft from the account's prepaid credits and queue it for printing. Debits exactly batch.pricing.total_cents once (repeating returns the current state). Only after the person has seen the proof. The key's policies apply: a key that requires approval cannot pay (the owner confirms in the dashboard), max_daily_pieces counts the whole batch, and max_cost_cents refuses before any debit. A sandbox key pays nothing, and a sandbox batch moves forward only through the sandbox advance call.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| batch_id | string | oui | The batch's id (UUID). |
| max_cost_cents | integer | non | Refuse before any debit if batch.pricing.total_cents is above this, in cents. |
get_batch_mail
A batch with its status (draft → paid → generating → submitted → in_progress → completed | partially_completed | failed; cancelled), recipient summary, pricing (credits_charged, refunded_cents), field_kit, tracking (QR pieces scanned and confirmed), links and the first 50 pieces, each with its qr (code, link, your ref, scans, first_scanned_at, confirmed_at, expires_at; sandbox verify pieces also carry short_code). Poll it after confirm; batch.submitted / batch.completed also arrive on the agent's webhook. Every piece: page with offset and limit, or ask for the pieces scanned, confirmed (verify: the address verified) or not_scanned with qr; REST: GET /v1/batch-mail/{id}/pieces.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| batch_id | string | oui | The batch's id (UUID). |
| qr | enum: "scanned" | "confirmed" | "not_scanned" | non | Only the pieces whose QR code was scanned, confirmed (verify: the address verified) or not scanned yet. Batches with QR codes only. |
| limit | integer | non | Pieces per page, default 50. |
| offset | integer | non | Pieces to skip, default 0. |
list_batch_mail
The caller's batches, newest first. Sandbox keys list sandbox batches only; agent keys see their own agent's batches.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| status | enum: "draft" | "paid" | "generating" | "submitted" | "in_progress" | "completed" | "partially_completed" | "failed" … | non | Only batches in this status. |
| limit | integer | non | Page size, default 25. |
| offset | integer | non | Batches to skip, default 0. |
cancel_batch_mail
Cancel a batch before the facility starts (draft, paid, generating or submitted); credits are refunded in full. Once the facility is printing (in_progress) it cannot be cancelled.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| batch_id | string | oui | The batch's id (UUID). |
advance_test_batch_mail
Sandbox keys only: simulate the facility one step (submitted → in_progress → completed). Completion marks every piece mailed and fires batch.completed to the agent's webhook, exactly as the facility would. With qr_event and piece it records a scan or a confirmation on that piece of a sandbox batch with QR codes instead, as if a phone scanned it, and the batch.piece.* webhooks fire. Live batches are advanced by the facility, never by the API.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| batch_id | string | oui | The batch's id (UUID). |
| qr_event | enum: "scan" | "confirm" | non | Record a scan or a confirmation instead of advancing the batch. |
| piece | integer | non | The piece (1-based) for qr_event. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mailbox.bot/api/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http mailbox https://mailbox.bot/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : mailbox ; URL : https://mailbox.bot/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : mailbox ; Server URL : https://mailbox.bot/api/mcp ; Create as a plugin{
"mcpServers": {
"mailbox": {
"url": "https://mailbox.bot/api/mcp"
}
}
}{
"mcpServers": {
"mailbox": {
"type": "http",
"url": "https://mailbox.bot/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mailbox": {
"url": "https://mailbox.bot/api/mcp"
}
}
}{
"mcpServers": {
"mailbox": {
"httpUrl": "https://mailbox.bot/api/mcp"
}
}
}[mcp_servers.mailbox]
url = "https://mailbox.bot/api/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
mailbox.bot · L’Atlas · Test du
[mailbox.bot — L’Atlas](https://latlas.dev/mcp/bot.mailbox/mailbox)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.