Skip to main content
POST
cURL
Get a sandbox API key with no account, no request body and no human step. Use it to exercise the credential path against the sandbox server before you have live access.

What you get

  • A 201 with a new oxi_sk_test_... key on every call. Nothing is stored, so the key cannot be listed or revoked and does not expire. Register again for a new one.
  • The key works only on the sandbox server, https://0xinsider.com/sandbox/api/v1, where it is optional. Send it as Authorization: Bearer to exercise the credential path; a malformed key is answered with the production 401.
  • The live API answers a sandbox key with 401 invalid_api_key and error.reason set to sandbox_api_key.

Going live

Live data needs an account with an active Pro subscription and either an oxi_sk_live_ key from the developers page or an OAuth access token (auth.md).

Response

A new sandbox key. Every call returns a different key, with Cache-Control: private, no-store.

object
string
required
Allowed value: "agent_registration"
data
object
required

A sandbox key and the path to live access (#13959). Nothing is stored: the key cannot be listed or revoked and does not expire. Register again for a new one.

meta
object
required