Skip to content
Esc
  • OverviewGuidesWhat exists today, and where to start.
  • QuickstartGuidesKey, domain, first send — in that order.
  • AuthenticationGuidesBearer keys, the mandatory User-Agent, and what each refusal means.
  • ErrorsGuidesThe whole vocabulary, with the status each name carries.
  • IdempotencyGuidesRetry a send without sending it twice.
  • PaginationGuidesCursors are item IDs, not page numbers.
  • Rate limitsGuidesTen a second per team, and the headers that tell you where you are.
  • EventsGuidesEvery event a webhook can carry, with one real payload each.
  • DomainsGuidesThe records, where they go at each registrar, and what the page does while you wait.
  • TrackingGuidesOpens and clicks: one record, two toggles, and what an open really means.
  • TemplatesGuidesFifty-seven starters sorted by goal, and how to keep a campaign as a template.
  • ReceivingGuidesInbound mail, and the Inbox: a webhook fires, you read it, you answer it.
  • InboxGuidesChannels, personal mailboxes and seats: who sees what, and where a reply goes.
  • Mail appsGuidesComing soon: your Rasket address in Apple Mail, Outlook and the Gmail app.
  • Inbox APIGuidesOpen, read and answer support conversations from your app, with the same key.
  • Support inbox in your appGuidesA Contact us form that opens a conversation your team answers, in five minutes.
  • Replies to your emailsGuidesOne field on a send, and the customer's reply opens a conversation.
  • Let an agent triageGuidesAn AI agent reads, notes and drafts over MCP; a person sends.
  • Node SDKGuidesThe rasket package: typed from the API's own document, retries only what is safe.
  • Python SDKGuidesThe rasket package on PyPI: the Node client's methods, in snake_case, over httpx.
  • MCP serverGuidesConnect Claude, ChatGPT or any MCP client: your scopes, no key.
  • AI assistGuidesSubject lines, drafts and diagnosis — in the dashboard and over the API, off until you allow it.
  • AgentsGuidesLet an AI agent set Rasket up: the skill, the rules file, MCP, and the recipe they share.
  • OAuthGuidesLet another app act for a team: register, authorize with PKCE, exchange, refresh.
  • Single sign-onGuidesOIDC login for your team, a domain proved by DNS, enforcement and break-glass.
  • IntegrationsGuidesVercel, Netlify and Cloudflare, Zapier and n8n, a WordPress plugin, and Notion contacts.
  • SMTPGuidesSend from anything that speaks SMTP: settings, setup guides, limits and replies.
  • ZapierGuidesSend email, add contacts and react to email events from a Zap, with no code.
  • n8nGuidesThe Rasket node and trigger for n8n workflows: install, connect, every operation.
  • VercelGuidesAdd Rasket on Vercel: a Sending key in each project as RASKET_API_KEY, no copying.
  • WordPressGuidesThe Rasket plugin: every email your site sends, through Rasket, with a safe fallback.
  • NotionGuidesTurn a Notion database of people into contacts in a segment, once or every hour.
  • Migrating to RasketGuidesBring contacts, unsubscribes, lists and templates from Mailchimp, Klaviyo and more.
  • EmailsAPI referenceSend, batch, retrieve, list, reschedule, cancel, attachments.
  • DomainsAPI referenceAdd a domain, publish its records, verify it.
  • API keysAPI referenceCreate, list, rename and revoke credentials.
  • WebhooksAPI referencePayloads, signature verification, retries and replay.
  • SuppressionsAPI referenceAddresses we will not send to, and why.
  • LogsAPI referenceEvery request made with this team's credentials.
  • MetricsAPI referenceDelivery, bounce, complaint and engagement counts.
  • TemplatesAPI referenceVersioned email content with typed variables, addressed by ID or alias.
  • ContactsAPI referenceYour audience: contacts, their typed properties, segments and topic choices.
  • SegmentsAPI referenceAudiences defined by a filter, by hand, or both.
  • TopicsAPI referenceWhat contacts subscribe to, and the preference page's list.
  • CampaignsAPI referenceCampaigns, at /broadcasts: one message to a segment, from draft to results.
  • ImportsAPI referenceCSV uploads: column mapping, conflicts and counts.
  • AutomationsAPI referenceWorkflows that run per contact: the graph, its versions, and every run.
  • Custom eventsAPI referenceThe names your product fires, and what starts a workflow.
  • ReceivingAPI referenceMail sent to you: the message, its attachments, its raw source.
  • OAuthAPI referenceClient registration, the token endpoint, and the grants a team has given.
  • TeamAPI referenceThe team a credential belongs to: its plan, sender identity, AI flag and members.
  • BillingAPI referencePlan, usage, invoices and add-ons, and the hosted pages where a customer pays.
  • AI helpersAPI referenceSubject lines, a first draft, and why an email did what it did.
  • InboxAPI referenceChannels, conversations, messages, notes and search in your support inbox.

GuidesLet an agent triage

Let an AI agent answer support

Connect your AI assistant to your support inbox. It reads and sorts conversations, writes notes for your team, and leaves reply drafts for a person to send.

Paste this into your agent once it is connected.

Triage the open conversations in our Rasket support inbox (support@yourdomain.com) using the Rasket MCP tools.
Read the Markdown of Rasket's guide first: /docs/inbox-api/agents.md on the Rasket website.
1. Call list_inbox_channels, then list_conversations with status open.
2. For each one, get_conversation, then add_conversation_note with a one-line summary and what the customer needs.
3. Assign it with update_conversation if the right teammate is obvious; otherwise leave it.
4. Write the answer with save_reply_draft so a person can read and send it. Do not call reply_to_conversation unless I say so.
5. Never open a personal mailbox or anything outside this channel, and stop and ask if a request needs a refund or an account change.

1. Connect with the Inbox tools

The Inbox tools are only offered when you ask for them, so connect to the MCP server with ?toolset=inbox:

claude mcp add --transport http rasket-inbox "https://api.rasket.com/mcp?toolset=inbox"
{
  "mcpServers": {
    "rasket-inbox": {
      "url": "https://api.rasket.com/mcp?toolset=inbox"
    }
  }
}

Sign in when the browser opens and approve inbox:read and inbox:write. The agent then acts as you: it sees the channels you can open, and nothing else.

A Claude connector added in Claude's settings can't reach the Inbox tools yet: it refuses an address with ?toolset= in it. Use Claude Code, Cursor or another MCP client for now.

2. Let it triage

Paste the prompt above. These are the tools it uses:

The Inbox tools
ToolWhat it does
list_inbox_channelsYour channels, who can be assigned in each, and the team's labels and folders.
list_conversationsConversations by channel, status, assignee, label, folder or place.
get_conversationOne conversation: its newest messages, its notes and the customer.
search_inboxSearch with the Inbox's own grammar.
add_conversation_noteAn internal note. It never reaches the customer.
update_conversationSet the status, assign it, change labels or file it.
save_reply_draftA reply in your own drafts, for a person to read and send.
reply_to_conversationSends from the channel — only after a preview and your yes.
create_conversationOpens a conversation — only after a preview and your yes.

The full list, with every scope, is on the MCP server page.

3. A person sends

  1. The agent writes each answer with save_reply_draft. It waits in your drafts in Rasket Inbox.
  2. You read it, change what you like, and press Send.
  3. If you let the agent send itself, reply_to_conversation shows a preview first and sends only when called again with the token that preview returned.

The expected result: every open conversation has a note and, where the agent could answer, a draft. Nothing reached a customer without a person.

Building your own agent

A program with no person behind it uses an API key with Inbox access Read and reply. It lists what is open, then notes and replies as the key, under the key's name:

curl -X GET "https://api.rasket.com/inbox/conversations?status=open&limit=20" \
  -H "Authorization: Bearer $RASKET_API_KEY" \
  -H "User-Agent: acme-billing/1.0"
curl -X POST "https://api.rasket.com/inbox/conversations/0192f8e1-7a40-7c55-b1e3-0f0a3b6d2e91/notes" \
  -H "Authorization: Bearer $RASKET_API_KEY" \
  -H "User-Agent: acme-billing/1.0" \
  -H "Content-Type: application/json" \
  -d '{
  "body": "Customer since 2024, on the Team plan. Offer the annual discount."
}'
  • A key's reply goes out from the channel's own name and address, at most 60 an hour per key.
  • A key can't snooze, because a snooze is a person's. Set status pending instead.
  • Every call is on the Inbox API reference.

If something goes wrong

Common problems
ProblemWhat to do
The agent has no Inbox toolsIt connected without ?toolset=inbox. Remove the server and add it again with the URL above.
403The scope was not approved when you connected, or you are a viewer, who can read and cannot write.
404The conversation is in a personal mailbox or a channel you can't open. Agents never reach those.