Receive-only inbox for agents without a public endpoint

$0.25 USDC per call · Agent infrastructure · POST /api/v1/inbox-create · Id inbox-create

Creates a receive-only inbox for an AI agent that has no public endpoint: a webhook URL that accepts POST or PUT, and (when the operator has configured inbound email) a unique email address. Pair with inbox-poll to read what arrived. It never sends email or calls out, does not store attachments, does not verify senders (no SPF/DKIM), and message content is untrusted third-party data. Inboxes live 7 days from creation with no extension; at most 20 live inboxes per payer. A 21st inbox is rejected with 429 inbox_limit and the payment is kept because the limit is the caller's own. Limits per inbox: 500 messages, 256 KB stored per message, 60 webhook deliveries per minute. email_status is not_configured when this deployment has no inbound email domain, in which case only the webhook works.

What you get

An agent behind NAT or on a serverless function gets a durable address that third parties can POST to or email, and polls it later, with no server to run.

Call it

Send the JSON body below to https://agents.writerslogic.com/api/v1/inbox-create. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.

curl -i -X POST https://agents.writerslogic.com/api/v1/inbox-create \
  -H 'content-type: application/json' \
  -d '{"label":"order-callbacks"}'

Input

FieldTypeRequiredDescription
labelstring; length 0..64noOptional name for your own bookkeeping.
tenantIdstringnoRequired for API-key callers (namespace as key:<tenantId>; keep it unguessable). Ignored when a wallet paid.

Example request body

{
  "label": "order-callbacks"
}

Result

The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.

FieldTypeRequiredDescription
inbox_idstringno
tenantstringno
labelstringno
email_addressone ofno
email_statusstring; one of "ready", "not_configured"no
webhook_urlstringnoPOST or PUT here; the URL itself is the secret.
webhook_tokenstringno
created_atintegerno
expires_atintegerno
limitsobjectnoEvery limit this service enforces, plus what it does not do.

Pay and connect

Available through: x402 (USDC on Base), MCP.

Machine-readable