Create a new API key restricted to a subset of scopes. The returned value is the only
opportunity to retrieve the plaintext secret — store it securely. This endpoint does not
accept an Idempotency-Key header; each call creates a new key.
Callers may only grant scopes they themselves hold (scope subsetting). Unrestricted keys
may create scoped keys; scoped keys need the api_key:create scope. Up to 500 scoped
keys may exist per developer.
Documentation Index
Fetch the complete documentation index at: https://apidocs.bridge.xyz/llms.txt
Use this file to discover all available pages before exploring further.
The scopes to grant the new API key. Must be a non-empty array drawn from ApiKeyScope.
Scopes to grant the new key. Must be a non-empty array. Each scope must be one you yourself hold (scope subsetting).
1A scope that may be granted to a scoped API key. Unrestricted keys are created via the Dashboard and implicitly hold the standard scopes; they cannot be requested here.
api_key:create, api_key:self:read, audit_log:read, card:create, card:delete, card:read, card:update, crypto_return_policy:create, crypto_return_policy:delete, crypto_return_policy:read, crypto_return_policy:update, customer:create, customer:delete, customer:read, customer:update, customer_creation_request:create, customer_creation_request:read, developer_fee:create, developer_fee:read, developer_fee:update, developer_trade_configuration:read, developer_trade_configuration:update, exchange_rate:read, external_account:create, external_account:delete, external_account:read, external_account:update, inquiry:read, inquiry:resume, liquidation_address:create, liquidation_address:drain:read, liquidation_address:drain:update, liquidation_address:read, liquidation_address:update, prefunded_account:read, tos_link:create, tos_link:read, transfer:create, transfer:create:privy_custodial_wallet, transfer:delete, transfer:read, transfer:update, virtual_account:create, virtual_account:delete, virtual_account:history:read, virtual_account:read, virtual_account:transaction:read, virtual_account:update, wallet:create, wallet:create:privy_custodial_wallet, wallet:customer:read, wallet:delete, wallet:developer:read, wallet:update, webhook:create, webhook:delete, webhook:read, webhook:update The API key was created. value is returned exactly once.
Returned only on key creation. value is the plaintext secret and is shown exactly once.
The unique identifier for this API key.
Whether the key was created programmatically (Private) or via the Dashboard (Public).
Public, Private The type of entity that owns the key. Always Developer.
Developer The developer ID that owns the key.
The environment prefix of the key. sk-live in production, sk-test in sandbox.
sk-live, sk-test The last four characters of the key, shown alongside the prefix for disambiguation in audit logs.
Lifecycle state of the key.
Active, Deleted The scopes authorized on this key. A single-element list containing bridge:api_unrestricted
denotes an unrestricted key (all standard scopes). Any other list denotes a scoped key.
The plaintext secret for this API key. Store it securely — it cannot be retrieved again.
"sk-live-0123456789abcdef0123456789ab9f2c"