Create a scoped API key
Changed onCreate 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.
Request
- Base URLhttps://api.bridge.xyz/v0
- URLhttps://api.bridge.xyz/v0/api_keys
- AuthAPI key in header Api-Key
Request body
Response
The API key was created. value is returned exactly once.
Example response
{
"value": "sk-live-0123456789abcdef0123456789ab9f2c"
}Changes
- info
added the new
funds_request:readenum value to the request property/ - info
added the new
rfi:readenum value to the request property/ - info
added the new
sandbox:developer:createenum value to the request property/ - info
added the new
travel_rule_data:createenum value to the request property/
- info