Mint a scoped child key (sub-account); scopes ⊆ this key's
API keys
Mint a child key
Mint a scoped ScripX child API key for a sub-account or app: scopes are always a subset of the parent key, and the raw key is shown exactly once.
POST
Mint a scoped child key (sub-account); scopes ⊆ this key's
Self-serve sub-accounts: mint a child key with a label and a subset of your scopes. Returns
Hand the raw key to the sub-account over a secure channel; you cannot retrieve it again.
201; the raw api_key appears once, in this response only.
A child key can never out-rank its parent: request a scope the parent lacks and the mint is refused. Omit scopes to inherit all of the parent’s.
Request example
Response example
Errors
422 unprocessable, missinglabelor scopes not a subset of yours.
Next steps
Authorizations
Your API key, e.g. scripx_live_…. Bound to one firm; tenant isolation is enforced.
Body
application/json