Create a sub-account
Sub-accounts
Create a sub-account
Creates a sub-account.
POST
Create a sub-account
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Body
application/json
Sub-account configuration.
Response
Sub-account created.
Sub-account details including API key and webhook configurations.
Sub-account ID.
Example:
123
Date and time the sub-account was created in ISO 8601 format.
Example:
"2023-06-15T10:30:00Z"
Sub-account name.
Example:
"My sub-account"
Sub-account API key.
Example:
"abc123def456"
Master account ID.
Example:
456
Sub-account status.
Available options:
enabled, disabled Example:
"enabled"
Default webhook URLs for inbound messages and delivery reports.