---
agent:
  instructions: "Use this search API to find what Blueping's public pages say, with keywords or a question, instead of crawling them one by one. Results are returned in Markdown, best first, each with its link."
  endpoint: "https://blueping.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

> The index of these docs for agents is at https://blueping.dev/llms.txt

# API errors

Every error the API answers, what it means and what to do. The `docs_url` in each error points to its row here, and every refusal of the inbox API carries `next_action`, what to do now.

## The shape of an error

```json
{
  "error": {
    "code": "new_recipient_limit",
    "message": "New recipients come a few at a time: 0 more in the first hour, and this message has 1. People who wrote first don't count. Nothing was sent.",
    "next_action": "Send to fewer new people now, or wait until retry_after. Replies to people who wrote to you are never limited by this. Leave \"if_limited\" out to have the send wait in the queue and go by itself.",
    "retry_after": 1260,
    "docs_url": "https://blueping.dev/docs/errors#new_recipient_limit"
  }
}
```

- Read `code`: `message` is written for people and may change.
- A 429 with a known wait carries `retry_after` and a `Retry-After` header, both in seconds.
- Every answer carries a `Blueping-Request-Id` header: quote it when you write to us.
- `next_action` says what to do now, in words an agent can follow, and `docs_url` leads to the code's row below.

## Email inbox API codes

Every refusal of the inbox API, with its HTTP status and what it means. Each row's id is the code, so a `docs_url` lands on it.

- **`invalid_json`** (HTTP 400). The body isn't a JSON object.
- **`invalid_request`** (HTTP 400). A field has the wrong type or is out of range: the message names it.
- **`invalid_username`** (HTTP 400). A username is 3 to 40 characters: lowercase letters, digits, dots, hyphens and underscores, starting with a letter or a digit.
- **`invalid_address`** (HTTP 400). An email address or a domain can't be read, or a display name holds a line break.
- **`invalid_email`** (HTTP 400). owner_email isn't an address a person can receive a code at, or it is a temporary inbox's: a temporary inbox can't own an agent.
- **`subject_required`** (HTTP 400). A new message needs a subject.
- **`body_required`** (HTTP 400). A message needs text, html or both.
- **`too_many_recipients`** (HTTP 400). A message goes to 10 addresses at most, to, cc and bcc together.
- **`invalid_attachment`** (HTTP 400). An attachment needs filename, content_type and content_base64 as valid base64, and a message takes 20 files at most.
- **`invalid_label`** (HTTP 400). A label is 1 to 50 characters: lowercase letters, digits, dots, underscores, colons, slashes and hyphens, starting with a letter or a digit. A message holds 20 labels at most.
- **`invalid_send_at`** (HTTP 400). send_at is a date and time with its zone, such as 2026-11-23T09:00:00Z, 1 minute to 30 days ahead, or null to unschedule.
- **`agent_required`** (HTTP 400). A dashboard session with several agents names one in X-Blueping-Account.
- **`invalid_permissions`** (HTTP 400). permissions names email:read, email:send, held:read, held:release, webhook:manage and inbox:manage only, each once, and held:release goes with held:read.
- **`unauthorized`** (HTTP 401). No API key, or a key that doesn't exist.
- **`https_required`** (HTTP 403). A key sent over plain http: treat it as exposed.
- **`live_key_required`** (HTTP 403). A test key made before there was one mode can't use mail.
- **`missing_app_header`** (HTTP 403). A dashboard request that changes something carries X-Blueping-App: 1.
- **`origin_refused`** (HTTP 403). A sign-up sent by a browser from a web page on another site.
- **`line_pending`** (HTTP 403). The agent waits for its first payment.
- **`line_ended`** (HTTP 403). The agent stopped when its plan ended.
- **`agent_not_found`** (HTTP 404). No agent with this id in the session's account.
- **`recipient_not_allowed`** (HTTP 403). An unclaimed agent writes only to people who wrote to it first, to the echo address, or to its owner once confirmed.
- **`account_suspended`** (HTTP 403). Sending is stopped for this agent; reading and receiving go on.
- **`claim_required`** (HTTP 403). This needs a person behind the agent: claim it first.
- **`message_held`** (HTTP 403). The message is held: its sender failed authentication or it carries text aimed at a model, or the key lacks held:read. Held mail waits for a person: it isn't answered or forwarded, a draft can't answer it, and its attachments read as text only with include=held.
- **`permission_denied`** (HTTP 403). The key lacks the permission this call needs: the message names it, and error.required says it.
- **`inbox_out_of_scope`** (HTTP 403). The key reaches one inbox, and this call names another inbox or the whole agent.
- **`admin_key_required`** (HTTP 403). This call takes an admin key (bp_admin_...) or the owner's dashboard session.
- **`session_required`** (HTTP 403). Keys and admin keys are made and revoked in the dashboard, signed in as the owner.
- **`recipient_blocked`** (HTTP 403). A recipient matches a send rule of this inbox: a block rule, or no allow rule when the inbox has some. Nothing was sent.
- **`inbox_not_found`** (HTTP 404). No inbox with this id for this agent.
- **`message_not_found`** (HTTP 404). No message with this id in this agent's inboxes.
- **`thread_not_found`** (HTTP 404). No thread with this id in this agent's inboxes.
- **`attachment_not_found`** (HTTP 404). No attachment with this id on this message.
- **`no_code_yet`** (HTTP 404). No message with a code or a sign-in link arrived in the time given.
- **`code_held`** (HTTP 404). A code arrived, but in a held message: its sender failed authentication or it carries text aimed at a model.
- **`recipient_not_found`** (HTTP 404). No inbox at this @blueping.dev address.
- **`draft_not_found`** (HTTP 404). No draft with this id in this agent's inboxes.
- **`rule_not_found`** (HTTP 404). No rule with this id on this inbox.
- **`key_not_found`** (HTTP 404). No active key with this id on this agent.
- **`suppression_not_found`** (HTTP 404). This address isn't on the agent's suppression list.
- **`a2a_not_found`** (HTTP 404). No agent answers over A2A at this address: no inbox has this username, or its owner hasn't turned A2A on with a2a true.
- **`username_taken`** (HTTP 409). Another agent has this username, or had it: a deleted address is never given again.
- **`idempotency_conflict`** (HTTP 409). This Idempotency-Key was used in the last 24 hours with another request.
- **`idempotency_in_progress`** (HTTP 409). A request with this Idempotency-Key is still running.
- **`already_claimed`** (HTTP 409). A person already claimed this agent.
- **`already_on_plan`** (HTTP 409). The agent already pays for a plan, or already has this one: its owner changes plan in the billing portal, from the dashboard.
- **`free_plan_taken`** (HTTP 409). The owner already holds an agent on Free, and Free is one agent per person, an address and its +tags together. upgrade_url is where they move that agent to a paid plan; the code stays good for the next try.
- **`too_many_agents`** (HTTP 409). The owner already holds the most agents a person can have.
- **`draft_sent`** (HTTP 409). The draft was sent: it can't be changed, sent again or deleted. Its message_id is the message.
- **`draft_sending`** (HTTP 409). The draft is being sent right now, or another request changed it at the same moment: read it again in a few seconds.
- **`message_not_held`** (HTTP 409). The message isn't held, so there is nothing to release.
- **`suppression_read_only`** (HTTP 409). The address bounced or reported spam: its entry stays, and expires by itself when it has an expiry.
- **`too_many_keys`** (HTTP 409). The agent holds the most active keys it can: revoke one first.
- **`too_many_admin_keys`** (HTTP 409). The organization holds 5 active admin keys: revoke one first.
- **`a2a_task_closed`** (HTTP 409). The A2A message's task is completed, canceled by its caller, or closed after 7 days without an answer: it takes no answer. A new message from the caller starts a new task.
- **`inbox_deleted`** (HTTP 410). The inbox was deleted: it receives and sends nothing, and its address is retired.
- **`attachments_too_large`** (HTTP 413). Attachments of one send weigh 10 MB at most, decoded.
- **`text_unavailable`** (HTTP 415). This attachment's text can't be read here: its type has no reader, or the reader isn't connected. Download the file instead.
- **`claim_code_invalid`** (HTTP 422). The claim code is wrong or expired.
- **`content_refused`** (HTTP 422). The message looks like credential phishing or hides its links behind a link shortener.
- **`recipient_suppressed`** (HTTP 422). An address is on this agent's suppression list, or on the mail service's list for the sending domain. Nothing was sent, and error.suppressed names each address with its reason.
- **`recipient_refused`** (HTTP 422). The recipient's mail server refused the message.
- **`inbox_limit_reached`** (HTTP 429). The plan's inboxes are all in use.
- **`daily_limit_reached`** (HTTP 429). The plan's sends for this UTC day are used up. Only with "if_limited": "refuse": by default the send waits in the queue, status queued, and goes by itself.
- **`monthly_limit_reached`** (HTTP 429). The plan's sends for this month are used up. Only with "if_limited": "refuse": by default the send waits in the queue for the 1st, and goes by itself.
- **`new_recipient_limit`** (HTTP 429). Too many new recipients too soon: the ramp after the claim, or the hourly pace after it. Only with "if_limited": "refuse": by default the send waits in the queue, and goes by itself when they fit.
- **`free_pool_full`** (HTTP 429). The daily pool Free agents share for mail to people outside Blueping, replies included, is used for today. Only with "if_limited": "refuse": by default the send waits in the queue for the next day, and goes by itself. Paid plans never draw on it.
- **`queue_full`** (HTTP 429). The agent's queue holds the most sends its plan allows (300 on Free), and this one met a limit: retry_after says when the queue has room.
- **`storage_full`** (HTTP 429). The plan's storage is full: new mail is refused until mail is deleted, or on Free until older mail goes after 90 days.
- **`scheduled_limit_reached`** (HTTP 429). The agent holds 100 scheduled sends at once: send or delete one first.
- **`draft_limit_reached`** (HTTP 429). The inbox holds 1,000 drafts not sent yet: send or delete some first.
- **`rule_limit_reached`** (HTTP 429). An inbox holds 500 allow and block rules at most.
- **`rename_limited`** (HTTP 429). The agent changed inbox addresses 3 times today, the most in a UTC day: retry_after says when it can again.
- **`org_agent_limit`** (HTTP 429). The organization created 20 agents today, the most in a UTC day.
- **`rate_limited`** (HTTP 429). Too many requests or waits at once: retry_after says when to try again.
- **`signup_limited`** (HTTP 429). Too many sign-ups from this network: retry_after says when to try again.
- **`platform_busy`** (HTTP 429). Blueping's sending to people outside Blueping is at its ceiling for today, or paused while Blueping checks an unusual volume, whatever the plan. Only with "if_limited": "refuse": by default the send waits in the queue and goes by itself. Mail to Blueping inboxes goes at once.
- **`internal_error`** (HTTP 500). Something failed on Blueping's side.
- **`send_unconfirmed`** (HTTP 502). The sender didn't confirm the message, which may have gone out: it is kept with status unknown.
- **`sending_paused`** (HTTP 503). Sending is paused for every agent for now; receiving goes on.
- **`sending_unavailable`** (HTTP 503). Sending can't be reached right now; nothing was sent.
- **`mail_unavailable`** (HTTP 503). Mail storage isn't connected on this deployment.
- **`payments_not_open`** (HTTP 503). This plan and period can't be bought on this deployment yet.
- **`checkout_unavailable`** (HTTP 503). The payment page couldn't be made right now, and nothing was bought: retry_after says when to ask again.
- **`invalid_domain`** (HTTP 400). The name isn't one Blueping can connect: it can't be read, it is an extension rather than a domain, it is Blueping's own, or the agent's owner reads mail on it.
- **`domain_not_found`** (HTTP 404). No domain with this id, or of this name, is connected to this agent.
- **`domain_taken`** (HTTP 409). This domain is connected to Blueping by another agent, or is still being removed.
- **`domain_not_ready`** (HTTP 409). The domain doesn't receive mail now, or an inbox on it can't send outside Blueping right now: GET /v1/domains/{id} says which record to check.
- **`domain_deleted`** (HTTP 410). The domain was deleted: its identity is removed from Amazon SES, or will be within the hour, and the addresses of its inboxes are retired.
- **`domain_refused`** (HTTP 422). Amazon SES doesn't take this domain right now.
- **`domain_limit_reached`** (HTTP 429). The plan's domains are all in use: Free connects 1, Developer 10, Startup 150 and Scale 500.
- **`domains_unavailable`** (HTTP 503). Custom domains can't be reached on this deployment right now. Nothing was changed.

## Webhook, key and sign-in codes

- **`invalid_url`** (HTTP 400). The webhook URL must be an `https://` address with a public host name, on port 443 or 8443, without a password, up to 2,048 characters.
- **`invalid_events`** (HTTP 400). `events` must be a list of event types, or `["*"]` for every event. The error names a type it doesn't know.
- **`invalid_mode`** (HTTP 400). Every new key is a live key: leave `mode` out.
- **`reserved_name`** (HTTP 400). This app name could be mistaken for another company. Pick another one.
- **`credentials_in_url`** (HTTP 400). Send your API key in the `Authorization` header, never in a URL. Treat the one you sent as exposed: revoke it and make a new one.
- **`payment_review`** (HTTP 403). Sending is paused for this agent while we review a payment, after a dispute or a bank's fraud warning. Nothing was sent. Reading still works. Write to hello@blueping.dev.
- **`cross_site_refused`** (HTTP 403). Another site's page tried to use a signed-in browser. API keys aren't affected.
- **`insufficient_scope`** (HTTP 403). On `/mcp`, this OAuth connection doesn't cover that tool. Ask the person to sign in again from their client (in Claude Code, `/mcp`): the new approval lists the extra permission.
- **`webhook_not_set`** (HTTP 404). This agent has no webhook yet. Add one with `POST /v1/webhooks`.
- **`webhook_not_found`** (HTTP 404). No webhook with this id for this agent. `GET /v1/webhooks` lists its own.
- **`nothing_to_reveal`** (HTTP 404). The first key was already shown, or an hour passed. Create a new key in the dashboard.
- **`not_found`** (HTTP 404). No such endpoint. Check the method and the path.
- **`method_not_allowed`** (HTTP 405). This address doesn't take that method. The `Allow` header lists the ones it takes.
- **`too_many_webhooks`** (HTTP 409). This agent has 10 webhooks. Remove one before you add another.
- **`body_too_large`** (HTTP 413). The request is too big. The API takes 64 KB at most.
- **`too_many_requests`** (HTTP 429). Too many terminal sign-ins from your network. Try again in an hour.
