Bootstrap
Consume the code and receive the first API key
Verifies the code, creates the account if the address is new, records the terms acceptance, and returns a freshly minted key — the raw token EXACTLY ONCE. accept_terms must be true. Requested scopes must be within API_BOOTSTRAP_SCOPES (default read,sites:write); omitting them yields that whole set, and billing:write is never obtainable here. Everything that can be rejected without the code is validated first, so a bad field does not burn a valid code. The key is always all-sites and always expires (90 days by default, 365 max).
post/auth/verify-otp
Request
- Base URLhttps://statable.com/api/v1
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"code": "123456",
"terms_version": "2026-07-01"
}Response
The account and its first key, including the one-time token.
Example response
{
"token": "stbl_Z9y8X7w6…",
"key": {
"prefix": "stbl_A1b2C3d4",
"scopes": "read"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.