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.
- The plaintext
apiKeyis returned exactly once and is never recoverable afterwards. - Provisioning takes ~1–2s as it creates a Privy account and an on-chain smart wallet.
labelmust be unique across all keys. If it is taken you get a409— retry with a different one.- Rate limited per IP. Over the limit returns a
429.
Body
Metadata for the new key.
Human-readable name to identify this key, e.g. "arca-bot".
- Trimmed and lowercased before storage.
- Must be unique across all keys, so pick something specific to you. A taken label returns a 409.
1 - 100Response
The API key was created and its smart wallet provisioned.
The plaintext API key. Returned exactly once — it is never stored in plaintext and cannot be retrieved again. Store it securely on receipt; if lost, create a new key with a different label.
"autoboy_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQ"
On-chain smart wallet address provisioned for this key.
"0x1234567890123456789012345678901234567890"

