/v1/accountsCreate an account and get a key, with no credential
The one endpoint here that needs no API key, because an agent arriving with no account has nothing to authenticate with. It creates an account, emails a claim link to the address you supply, and returns a live key you can use immediately.
**Only use an address the person you are acting for can actually read.** The account is theirs, not yours: the emailed link signs them in, and an account nobody claims is deleted automatically along with the key.
An address that already has an account gets 202 and **no key**. That is deliberate and is not an error you can work around: issuing a key for an existing address would be account takeover by email address. Sign in and create one from the account page instead.
Rate limited per address and capped per day across the whole service, and it can be switched off entirely, in which case it answers 403 signup_disabled. If you need a key without this, the Device Authorization Grant is the supported path and has no such limits.
Request body
emailstringrequired- Where the claim link goes. Must accept mail, or nothing is created.
client_idstringrequired- Who is asking. Identifies for the operator, and authenticates nothing.
scopestringoptional- Space delimited. Absent means all four. Same vocabulary as the device grant.
Responses
- 201
- Created. The key is in the body and is never shown again.
- 202
- That address already has an account. No key is issued.
- 400
- Invalid body or unknown scope.
- 403
- Programmatic account creation is switched off.
- 422
- The address would not accept mail, so nothing was created.
- 429
- Per-address window or the daily ceiling.