froogdocs
Dashboard

DocsAgents

Sign up from an agent

An agent can sign you up without you pasting a key, via auth.md (WorkOS agent registration). Tell it:

Follow https://froog.tech/auth.md and sign me up for froog sandboxes.
  1. It discovers the endpoints from a 401's WWW-Authenticate header and /.well-known/oauth-authorization-server.
  2. It registers: POST /v1/agent/identity with {"type": "anonymous"} or {"type": "service_auth", "login_hint": "you@example.com"}.
  3. It sends you a link and a 6-digit code. You sign in and type the code (an email-bound registration needs that account: 403 wrong_account).
  4. It polls POST /v1/oauth2/token for an API key, then can open the add-a-card page for you (card).

Before you claim it, an anonymous agent can only read the account; anything else is 403 claim_required.

A claimed agent's key can create and run sandboxes, snapshots and files and open the add-a-card page. It can't pay, change the spend cap or auto top-up, or create keys (403 api_key_action_forbidden). The key expires after 90 days. Revoke it on the API keys page or with POST /v1/oauth2/revoke; the agent must then register again. Claim links last 24 hours, codes 10 minutes and 5 tries; 10 registrations per network per hour.