Sub-accounts
List sub-accounts
Changed onReturns a paginated list of sub-accounts under the authenticated master account.
get/v1/sub-organizations
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/sub-organizations
- AuthHTTP bearer
Query parameters
status'enabled' | 'disabled'
Example:enabled
Filters sub-accounts by status. One of enabled (the sub-account is active) or disabled (the sub-account is suspended).
pageinteger
Page number to retrieve. Default 1.
per_pageinteger
Number of records to return per page. Default 25.
Response
Returns a paginated list of sub-accounts.
Example response
{
"sub_organizations": [
{
"id": 123,
"created_at": "2023-06-15T10:30:00Z",
"name": "My sub-account",
"api_key": "abc123def456",
"master_organization": 456,
"status": "enabled",
"default_destinations": {
"sms_endpoint": "https://examples.com/sms",
"dlr_endpoint": "https://examples.com/dlr"
}
}
],
"pagination": {
"current_page": 2,
"per_page": 25,
"total": 101,
"total_pages": 5
}
}Changes
- info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterper_page
- info
- info
the endpoint scheme security
bearerAuthwas added to the API
- info