Create a sub-account
Creates a sub-account under the authenticated master account. Returns the sub-account with its generated api_key.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Body
Attributes for the new sub-account.
Response
Returns the created sub-account.
Sub-account details including API key and webhook configurations.
Sub-account ID.
123
Date and time the sub-account was created in ISO 8601 format.
"2023-06-15T10:30:00Z"
Sub-account name.
"My sub-account"
Sub-account API key.
"abc123def456"
Master account ID.
456
Status of the subaccount. One of enabled (the subaccount is active and can be used) or disabled (the subaccount is suspended).
enabled, disabled "enabled"
Default webhook URLs for inbound messages and delivery reports.