Agent self-signup
An agent can create a sandbox org; a human claims it later.
Early access
Coding agents should not click through a dashboard. They call bootstrap, get a test key, and keep going. A human later claims the org with email verification.
POST /v1/signup/agent
Hosted: POST https://api.mailroom.gosuevals.com/v1/signup/agent.
Unauthenticated. Rate-limited by IP. CAPTCHA is skipped for this path; instead we require a one-time init_token from npx mailroom init (device attestation TBD — pick the simpler option and ADR it).
{
"name": "acme-dev",
"agent_name": "support",
"client": "cursor"
}{
"org_id": "org_…",
"agent_id": "agt_…",
"inbox": "support@acme-dev.mailroom-mail.com",
"api_key": "mr_test_…",
"claim_url": "https://mailroom.gosuevals.com/claim/…",
"claim_token": "clm_…"
}The org is status: sandbox. Plan is Free. Default policy is installed. The key is agent-scoped (emails:send, inboxes:read, inboxes:write) — not approvals:decide.
POST /v1/signup/claim
{ "claim_token": "clm_…", "email": "you@company.com" }Sends a magic link. On verify: the human becomes org owner, can mint a dashboard session, rotate in a mr_live_ key, and optionally attach a payment method for paid plans. Claim is not required to keep using sandbox. Claim is required for managed-live sending.
Abuse notes
- One sandbox org per init_token. Burst of signups from one IP → 429.
- Sandbox orgs that never send and never claim are expired after TODO(pricing) days.
- Promoting sandbox → live Free still requires verified email (the claim). Disposable inboxes are blocked on claim, not on agent signup.