API Keys
Create an API key
Creates a new API key, its associated AutoBoy user and wallet. Call this first — it needs no credentials, and every other endpoint takes the key it returns.
Key creation is turned off right now and returns a 503. Existing keys keep working.
- The plaintext apiKey is returned exactly once and is never recoverable afterwards.
- Provisioning takes ~1–2s as it creates a Privy account and an on-chain smart wallet.
- label must be unique across all keys. If it is taken you get a 409 — retry with a different one.
- Rate limited per IP. Over the limit returns a 429.
post/api/public/v1/api-keys
Request body
Response
The API key was created and its smart wallet provisioned.
Example response
{
"apiKey": "autoboy_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQ",
"autoboyWalletAddress": "0x1234567890123456789012345678901234567890"
}Changes
Changed in 1 of the 5 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○