Blueping

SDKs and languages

The inbox API is HTTPS and JSON, so any language calls it in a few lines, with nothing to install. Each call of the reference shows its line in these languages, and the OpenAPI document generates a typed client for the rest.

A client in a few lines

Each call sends the key in Authorization, JSON in the body, and reads JSON back. A refusal carries code, message, next_action and, when a wait is known, retry_after. Every call of the reference shows its line for the client below, in the language you pick.

// A Blueping client in a few lines: any HTTP library works the same way.
const API = "https://blueping.dev/v1";
const KEY = process.env.BLUEPING_API_KEY;

export async function blueping(method, path, body, idempotencyKey) {
  const response = await fetch(API + path, {
    method,
    headers: {
      Authorization: `Bearer ${KEY}`,
      "Content-Type": "application/json",
      ...(idempotencyKey ? { "Idempotency-Key": idempotencyKey } : {}),
    },
    body: body ? JSON.stringify(body) : undefined,
  });
  const answer = await response.json();
  // A refusal says what to do next: hand next_action to your agent.
  if (answer.error) throw Object.assign(new Error(answer.error.message), answer.error);
  return answer;
}

const { code, link } = await blueping("GET", "/inboxes/inb_.../code?wait=50&from=service.example");

Send an Idempotency-Key with each send, such as your own id for the message: a retry after a timeout then returns the first answer instead of sending twice.

Agent frameworks and automation

Each framework and platform below has a guide with its setup and a first agent, in its own words:

  • LangChain and LangGraph: Give a LangChain or LangGraph agent its own email inbox: five @tool functions over Blueping's API, then create_agent signs up, reads codes and replies.
  • OpenAI Agents SDK: Attach Blueping's hosted MCP server to an OpenAI Agents SDK agent with MCPServerStreamableHttp: its 10 core email tools, with your key in the header.
  • Claude Agent SDK: Give a Claude Agent SDK agent its own inbox: Blueping's hosted MCP server in mcp_servers with your key, its tools allowed as mcp__blueping__*.
  • Google ADK: Give a Google Agent Development Kit agent its own inbox: Blueping's hosted MCP server as an McpToolset with your key, then try it with adk run or adk web.
  • Vercel AI SDK: Give a Vercel AI SDK agent an email inbox: tool() definitions over Blueping's API, a zod schema each, and generateText with a step limit.
  • CrewAI: Give each CrewAI agent its own email address: @tool functions over Blueping's API, per role, so a crew emails vendors, customers and each other.
  • Mastra: Give a Mastra agent its own email inbox: createTool definitions over Blueping's API, with zod schemas, in the agent's tools.
  • LlamaIndex: Give a LlamaIndex FunctionAgent its own email inbox: five plain Python functions over Blueping's API, read as tools from their type hints.
  • Pydantic AI: Give a Pydantic AI agent an email inbox: Blueping's hosted MCP server as an MCPToolset with your key, passed in toolsets, then run the agent.
  • n8n: Give an n8n workflow its own email inbox: a Webhook node runs on each email, an AI Agent node decides, and an HTTP Request node replies in the thread.
  • Zapier: Run a Zap on every email your agent's inbox receives: Webhooks by Zapier catches it, your steps decide, and a POST answers in the same thread.
  • Make: Start a Make scenario on every email your agent receives: a custom webhook catches it, your modules decide, and the HTTP app replies in the thread.
  • Pipedream: Run a Pipedream workflow on every email your agent receives: the HTTP trigger catches it, and a Node.js step replies in the thread with fetch.

MCP clients such as Claude Code, Cursor or ChatGPT connect without code: Connect over MCP.

A typed client from OpenAPI

/openapi.json is OpenAPI 3.1, made from the same route table as the API itself: every endpoint, schema, example and error. Generators such as openapi-typescript or openapi-python-client turn it into types or a client.

curl -sS https://blueping.dev/openapi.json -o blueping.openapi.json
npx openapi-typescript blueping.openapi.json -o blueping.d.ts

Or no code at all

An agent with MCP needs no client: the hosted MCP server carries the same calls as tools, with OAuth or a key. Connect over MCP has the line for each client.

Give your agent an inbox today.

Free for 3 inboxes. No card.