Skip to main content
POST
Sign up from an agent (no key)
The Agent quickstart explains this endpoint in full.

Body

application/json
email
string<email>
required

The person's email.

Maximum string length: 254
key_name
string
default:Agent

The new key's name on the dashboard.

Maximum string length: 60
client_name
string

Your name, shown to the person ("Claude Code wants an API key").

Maximum string length: 60

Response

Show the link and code; poll with the claim token.

claim_token
string
required

Keep it; never show it.

verification_uri
string
required
user_code
string
required
Pattern: ^[0-9]{6}$
expires_in
integer
required
interval
integer
required