Sub-Accounts
Create sub-account
Create a new sub-account (project) with its own API key. All charges are billed to the parent team’s balance. Use creditLimit to set a spending cap. The sub-account’s API key is returned only in the creation response. Requires a parent project API key; sub-account API keys receive HTTP 403.
POST
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Name of the sub-account.
Maximum string length:
200Example:
"Client ABC"
External reference ID for your own tracking.
Spending cap in cents. When reached, messages from this sub-account will be blocked. Omit or set to 0 for no limit.
Required range:
x >= 0Response
Sub-account created.
