---
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

# Features: your agent's inbox, call by call

> Every plan has all 46 features, and each API call comes with an example to copy.

Base URL: https://blueping.dev. Send the key as `Authorization: Bearer <key>`.

Most features below have the call that uses them and a short example, request first, then the answer. The API reference is at https://blueping.dev/docs/api, and an agent can sign itself up from https://blueping.dev/agent-onboarding.md.

## Addresses

**An address for every agent.** Every agent gets its own address and a full inbox, made by your code or by the agent itself.

- **[Self sign-up for agents](https://blueping.dev/features.md#f-self-sign-up-for-agents)**: An agent reads the onboarding file and signs itself up. Until its person confirms with an emailed code, it writes only to its owner and to people who wrote first. Call: `POST /v1/signup`

  ```
  POST /v1/signup
  { "owner_email": "sam@example.com" }
  201 { "status": "unclaimed", "inbox": { … } }
  ```

- **[An inbox in one call](https://blueping.dev/features.md#f-an-inbox-in-one-call)**: Pick the name, or let Blueping make one up. It receives mail at once. Call: `POST /v1/inboxes`

  ```
  POST /v1/inboxes
  { "username": "norbeck-ap" }
  201 { "address": "norbeck-ap@blueping.dev" }
  ```

- **[Names that are yours](https://blueping.dev/features.md#f-names-that-are-yours)**: A name takes 3 to 40 lowercase letters, digits, dots, dashes or underscores, on blueping.dev. Field: `username` in `POST /v1/inboxes`

  ```
  POST /v1/inboxes
  { "username": "norbeck.ap-2" }
  201 { "address": "norbeck.ap-2@blueping.dev" }
  ```

- **[Addresses never reused](https://blueping.dev/features.md#f-addresses-never-reused)**: A deleted inbox's address is never given again, so nobody inherits the accounts tied to it. Call: `DELETE /v1/inboxes/{id}`

  ```
  DELETE /v1/inboxes/inb_7Qw2
  200 { "deleted": true }
  // qa-runner@blueping.dev is never given again
  ```

- **[Rename an inbox](https://blueping.dev/features.md#f-rename-an-inbox)**: Change an inbox's address. The old one keeps receiving for 30 days, then it is retired for good. Field: `username` in `PATCH /v1/inboxes/{id}`

  ```
  PATCH /v1/inboxes/inb_7Qw2
  { "username": "norbeck-billing" }
  200 { "address": "norbeck-billing@blueping.dev",
    "previous_addresses": [ … ] }
  ```

- **[Many inboxes at once](https://blueping.dev/features.md#f-many-inboxes-at-once)**: Make up to 50 inboxes in one call, delete up to 100, and list them page by page. Call: `POST /v1/inboxes/batch`

  ```
  POST /v1/inboxes/batch
  { "inboxes": [ { "username": "qa-1" }, … ] }
  200 { "created": 50, "data": [ … ] }
  ```

## Receiving

**Every email reaches your code as JSON.** It arrives the moment it lands, by webhook or long poll, with its text, codes and links already read.

- **[Webhooks](https://blueping.dev/features.md#f-webhooks)**: Up to 10 endpoints, each with its own secret, hear email.received when mail lands and email.held when it is held aside. Call: `POST /v1/webhooks`

  ```
  POST /v1/webhooks
  { "url": "https://app.example.com/mail" }
  201 { "id": "we_7Lp2", "secret": "whsec_…" }
  ```

- **[Signed and retried](https://blueping.dev/features.md#f-signed-and-retried)**: Every delivery is signed with HMAC-SHA256, and a failed one is tried up to 7 times over about 31 hours. Header: `Blueping-Signature` on each delivery to an endpoint added with `POST /v1/webhooks`

  ```
  POST https://app.example.com/mail
  Blueping-Signature: t=1763805600,v1=5f2c…
  // failed? again after 30 s, 2 min, 10 min, 1 h, 6 h, 1 day
  ```

- **[Long polls](https://blueping.dev/features.md#f-long-polls)**: A request waits up to 60 seconds for the next email, so a script needs no server. Call: `GET /v1/inboxes/{id}/messages?wait=60`

  ```
  GET /v1/inboxes/inb_3Kd8/messages?since=em_9PzR&wait=60
  200 { "data": [ { "subject": "Intro call" } ] }
  ```

- **[Clean text](https://blueping.dev/features.md#f-clean-text)**: You get what the person wrote, without the quoted history or the signature. Field: `extracted_text` in `GET /v1/messages/{id}`

  ```
  GET /v1/messages/em_2Wd8
  200 { "extracted_text":
    "The lamp came with a cracked shade." }
  ```

- **[The raw message](https://blueping.dev/features.md#f-the-raw-message)**: Your code can download the message as it arrived, as an .eml file. Call: `GET /v1/messages/{id}/raw`

  ```
  GET /v1/messages/em_2Wd8/raw
  200 Content-Type: message/rfc822
  // the .eml file, as it arrived
  ```

- **[Large mail](https://blueping.dev/features.md#f-large-mail)**: An email can weigh up to 25 MB, and every attachment is listed by name, type and size. Field: `attachments` in `GET /v1/messages/{id}`

  ```
  GET /v1/messages/em_4Tq1
  200 { "attachments": [ { "filename":
    "invoice-2291.pdf", "size": 48213 } ] }
  ```

## Sending and replies

**Replies stay in the thread.** Your agent writes, replies and forwards from its own address, and a retried send goes out once.

- **[Reply in the thread](https://blueping.dev/features.md#f-reply-in-the-thread)**: The reply keeps the subject and the thread headers, so the person sees one conversation. Call: `POST /v1/messages/{id}/reply`

  ```
  POST /v1/messages/em_2Wd8/reply
  { "text": "A new shade ships today." }
  202 { "status": "sent", "thread_id": "th_3HkT" }
  ```

- **[Send](https://blueping.dev/features.md#f-send)**: An email goes to up to 10 people, with up to 20 attachments and 10 MB of files in all. Call: `POST /v1/inboxes/{id}/messages`

  ```
  POST /v1/inboxes/inb_3Kd8/messages
  { "to": "ana@example.com", "subject": … }
  202 { "status": "sent" }
  ```

- **[Forward](https://blueping.dev/features.md#f-forward)**: Pass an email on to new people, with its attachments. Call: `POST /v1/messages/{id}/forward`

  ```
  POST /v1/messages/em_4Tq1/forward
  { "to": "accounts@example.com" }
  202 { "status": "sent" }
  ```

- **[Drafts and scheduled sends](https://blueping.dev/features.md#f-drafts-and-scheduled-sends)**: Keep a draft for a person to check, or give it a time and it goes on its own. Field: `send_at` in `POST /v1/inboxes/{id}/drafts`

  ```
  POST /v1/inboxes/inb_3Kd8/drafts
  { "send_at": "2026-11-23T09:00:00Z", … }
  201 { "status": "scheduled" }
  ```

- **[Sent once, even when retried](https://blueping.dev/features.md#f-sent-once-even-when-retried)**: An Idempotency-Key is kept 24 hours, and the same email within 5 minutes goes once. Header: `Idempotency-Key` on `POST /v1/inboxes/{id}/messages`

  ```
  POST /v1/inboxes/inb_3Kd8/messages
  Idempotency-Key: reply-10482
  200 { "id": "em_2LwQ", "status": "sent" }
  ```

- **[Queued at a limit](https://blueping.dev/features.md#f-queued-at-a-limit)**: A send that meets a limit is queued with the time it goes, and then goes by itself. Field: `sends_at` in `POST /v1/inboxes/{id}/messages`

  ```
  POST /v1/inboxes/inb_3Kd8/messages
  202 { "status": "queued",
    "sends_at": "2026-11-23T00:00:00Z" }
  ```

- **[Delivery events](https://blueping.dev/features.md#f-delivery-events)**: Each email says whether it reached each person: delivered, deferred, bounced or reported as spam. Field: `delivery` in `GET /v1/messages/{id}`

  ```
  GET /v1/messages/em_6Vn3
  200 { "delivery": { "status": "delivered",
    "recipients": [ … ] } }
  // and email.delivered, email.bounced as events
  ```

- **[A suppression list](https://blueping.dev/features.md#f-a-suppression-list)**: An address that bounced or reported spam joins the agent's list, and a send to it is refused before anything goes out. Call: `GET /v1/suppressions`

  ```
  GET /v1/suppressions
  200 { "data": [ { "address": "bob@example.net",
    "reason": "hard_bounce" } ] }
  ```

## Codes, links and files

**Codes, links and files, read for you.** Blueping finds what an agent needs in each message, so it never has to read all of it.

- **[Wait for a code](https://blueping.dev/features.md#f-wait-for-a-code)**: One request waits up to a minute for the next code or sign-in link, from any sender or the one you name. Call: `GET /v1/inboxes/{id}/code?wait=60`

  ```
  GET /v1/inboxes/inb_3Kd8/code?wait=60&from=quarrowby.com
  200 { "code": "482913", … }
  ```

- **[Codes found](https://blueping.dev/features.md#f-codes-found)**: Each email lists its verification codes, the likeliest first. Field: `codes` in `GET /v1/messages/{id}`

  ```
  GET /v1/messages/em_8Jp3
  200 { "codes": [ { "value": "482913" } ] }
  ```

- **[Links sorted](https://blueping.dev/features.md#f-links-sorted)**: Confirmation and sign-in links come first. Unsubscribe, social and legal links are kept apart. Field: `links` in `GET /v1/messages/{id}`

  ```
  GET /v1/messages/em_8Jp3
  200 { "links": [ { "kind": "verify",
    "url": "https://service.example/verify" } ] }
  ```

- **[Attachments as text](https://blueping.dev/features.md#f-attachments-as-text)**: PDFs, documents and spreadsheets come back as text, up to 100,000 characters each. Call: `GET /v1/messages/{id}/attachments/{attachment_id}/text`

  ```
  GET /v1/messages/em_4Tq1/attachments/att_9Lw3/text
  200 { "text": "# Invoice 2291 … $1,840.00" }
  ```

## Organizing

**Every inbox stays in order.** Search, threads, labels and lists keep each inbox easy for an agent to work through.

- **[Search emails](https://blueping.dev/features.md#f-search-emails)**: Find mail by its words in every inbox, by sender, dates or files. On paid plans, attached files are searched too. Query: `q` in `GET /v1/search`

  ```
  GET /v1/search?q=invoice+november
  200 { "data": [ { "subject": "Your November invoice",
    … } ], "next_cursor": null }
  ```

- **[Allow and block lists](https://blueping.dev/features.md#f-allow-and-block-lists)**: Each inbox allows or blocks addresses and domains, for mail in and out. A refused sender's mail is never stored. Call: `POST /v1/inboxes/{id}/rules`

  ```
  POST /v1/inboxes/inb_3Kd8/rules
  { "direction": "receive", "action": "block",
    "value": "@spam.example" }
  201 { "id": "rule_8Kp3" }
  ```

- **[Threads](https://blueping.dev/features.md#f-threads)**: Replies are grouped as a mail app groups them, with every message of a conversation in order. Call: `GET /v1/inboxes/{id}/threads`

  ```
  GET /v1/inboxes/inb_3Kd8/threads
  200 { "data": [ { "subject": "Intro call",
    "message_count": 3 } ] }
  ```

- **[Labels](https://blueping.dev/features.md#f-labels)**: Your agent puts words on its mail, such as invoices or followup/2026-11, to find it again. Call: `PATCH /v1/messages/{id}`

  ```
  PATCH /v1/messages/em_4Tq1
  { "add_labels": ["invoices", "unpaid"] }
  200 { "labels": ["invoices", "unpaid"] }
  ```

- **[Delete a thread](https://blueping.dev/features.md#f-delete-a-thread)**: A thread goes with its messages, files and labels, and its storage comes back. Call: `DELETE /v1/threads/{id}`

  ```
  DELETE /v1/threads/th_3HkT
  200 { "deleted": true, "messages": 2 }
  ```

## Safety

**Every email is checked first.** The checks run on every plan, and no API key can turn them off. Nobody at Blueping reads your mail.

- **[Prompt injection held](https://blueping.dev/features.md#f-prompt-injection-held)**: Instructions written to an AI, tool-call syntax, hidden text and long encoded blocks are found, and the email is held aside. Field: `safety` in `GET /v1/messages/{id}`

  ```
  GET /v1/messages/em_7Rq2
  200 { "safety": { "verdict": "suspicious",
    "reasons": ["ai_instructions"], "held": true } }
  ```

- **[The sender proven](https://blueping.dev/features.md#f-the-sender-proven)**: SPF, DKIM and DMARC are read on every email. Mail failing both SPF and DKIM, or its sender's DMARC policy, is turned away. Field: `auth` in `GET /v1/messages/{id}`

  ```
  GET /v1/messages/em_6Vn3
  200 { "auth": { "spf": "pass", "dkim": "pass",
    "dmarc": "pass", "verdict": "pass" } }
  ```

- **[Held, with the reasons](https://blueping.dev/features.md#f-held-with-the-reasons)**: Held mail is kept with its reasons and counted on every list. Only a key you give held:read reads it or hears email.held. Query: `include=held` on `GET /v1/inboxes/{id}/messages`

  ```
  GET /v1/inboxes/inb_3Kd8/messages
  200 { "held": { "count": 1, … ,
    "show_with": "include=held" } }
  ```

- **[Sending kept clean](https://blueping.dev/features.md#f-sending-kept-clean)**: A new inbox may write to at most 3 new people in its first hour, 10 in its first day and 25 in its first week. Field: `new_recipients` in `GET /v1/me/limits`

  ```
  GET /v1/me/limits
  200 { "new_recipients": [
    { "within_seconds": 3600, "most": 3 }, … ] }
  ```

## For agents

**Agents set themselves up.** An agent connects through the MCP server or the skill, reads its own limits and hands its owner a payment page.

- **[Hosted MCP server](https://blueping.dev/features.md#f-hosted-mcp-server)**: 10 email tools by default, and all 40 at /mcp/all, work in Claude Code, ChatGPT, Cursor, Codex and any MCP client, with OAuth sign-in. URL: `https://blueping.dev/mcp`

  ```
  claude mcp add --transport http \
    blueping https://blueping.dev/mcp
  // create_inbox, wait_for_code, reply_to_email…
  ```

- **[A skill in one line](https://blueping.dev/features.md#f-a-skill-in-one-line)**: The Blueping skill teaches an agent the whole API. Run: `npx skills add https://blueping.dev`

  ```
  npx skills add https://blueping.dev
  // your agent learns every call
  ```

- **[Files agents read](https://blueping.dev/features.md#f-files-agents-read)**: Agents read agent-onboarding.md, llms.txt, pricing.md, openapi.json and each page in Markdown. URL: `https://blueping.dev/agent-onboarding.md`

  ```
  GET https://blueping.dev/agent-onboarding.md
  200 # Blueping agent onboarding
  // from nothing to a working inbox
  ```

- **[Agent to agent](https://blueping.dev/features.md#f-agent-to-agent)**: Turn on an inbox's A2A card, and other agents find it and write to it. Call: `PATCH /v1/inboxes/{id}`

  ```
  PATCH /v1/inboxes/inb_3Kd8
  { "a2a": true }
  200 { "a2a_url":
    "https://blueping.dev/a2a/norbeck-ap" }
  ```

- **[Usage and limits](https://blueping.dev/features.md#f-usage-and-limits)**: An agent reads what its plan allows and what it used, with a warning from 80%, and plans its sends. Call: `GET /v1/me/limits`

  ```
  GET /v1/me/limits
  200 { "usage": { "sends_today": 84 }, … ,
    "warnings": [ { "code": "daily_limit_near" } ] }
  ```

- **[A payment page for the owner](https://blueping.dev/features.md#f-a-payment-page-for-the-owner)**: An agent asks for a Stripe Checkout page and hands it to its owner. Card details never reach Blueping. Call: `POST /v1/me/mail-plan`

  ```
  POST /v1/me/mail-plan
  { "plan": "developer", "period": "year" }
  200 { "url": "https://checkout.stripe.com/…" }
  ```

## Sign-in and keys

**Sign-in and keys, kept safe.** There is no password to steal, each key is shown once, and your data stays in the EU.

- **[Keys shown once](https://blueping.dev/features.md#f-keys-shown-once)**: A key is shown once, stored only as a hash, sent only in the Authorization header, and revoked at once. Header: `Authorization: Bearer <key>` on every call

  ```
  GET /v1/me/limits
  Authorization: Bearer $BLUEPING_API_KEY
  200 { "plan": "developer", … }
  ```

- **[No password](https://blueping.dev/features.md#f-no-password)**: Sign in with Google, GitHub or an email link that works once within 10 minutes, with two-factor sign-in and ten recovery codes.
- **[Alerts to the owner](https://blueping.dev/features.md#f-alerts-to-the-owner)**: The owner gets an email when a key is added, an agent connects or a webhook changes.
- **[Data in the EU](https://blueping.dev/features.md#f-data-in-the-eu)**: The database and the stored mail are held in the EU and encrypted with AES-256 at rest. On Free, mail is deleted after 90 days.

- **[Keys for one inbox](https://blueping.dev/features.md#f-keys-for-one-inbox)**: A key can reach one inbox and hold only what it needs, such as reading and sending. Held mail needs held:read. Field: `permissions` in `GET /v1/keys`

  ```
  GET /v1/keys
  200 { "data": [ { "inbox_id": "inb_3Kd8",
    "permissions": ["email:read", "email:send"] } ] }
  ```

- **[Audit log](https://blueping.dev/features.md#f-audit-log)**: Every change to keys, inboxes, rules, webhooks and suppressions is kept 400 days, with who made it. Call: `GET /v1/audit`

  ```
  GET /v1/audit
  200 { "data": [ { "action": "key.created",
    "actor": { "type": "session" }, … } ] }
  ```

- **[An admin key for your agents](https://blueping.dev/features.md#f-an-admin-key-for-your-agents)**: Your backend makes agents and their keys with one admin key, which reads no mail. Call: `POST /v1/org/agents`

  ```
  POST /v1/org/agents
  { "name": "Acme Support", "client_id": "cust_42" }
  201 { "agent": { … }, "api_key": "bp_live_…" }
  ```
