Subaccounts
A subaccount is a named group inside a project with its own limits, such as one for each customer or branch. Create and change subaccounts, and suspend and resume their new calls. See Subaccount.
List project subaccounts
Headers
Signals-VersionThe supported API snapshot to use for this request.
X-Project-IDThe project the request acts on, as prj_ and its lowercase UUID; optional while the
organization has one active project.
List project subaccounts › Responses
Every subaccount.
Create a project subaccount
Headers
Idempotency-KeyOne nonblank key of at most 128 characters; a retry with the same key repeats the outcome.
Signals-VersionThe supported API snapshot to use for this request.
X-Project-IDThe project the request acts on, as prj_ and its lowercase UUID; optional while the
organization has one active project.
Create a project subaccount › Request Body
nameCreate a project subaccount › Responses
The subaccount was created.
created_atcurrencydaily_spend_cap_minoridlive_callsmax_call_duration_secondsmax_concurrentmax_cpsmax_destination_rate_minornamerevisionThe save revision the ETag quotes; send it back as If-Match.
statusupdated_atRead one project subaccount
path Parameters
subaccount_idSubaccount id
Headers
Signals-VersionThe supported API snapshot to use for this request.
X-Project-IDThe project the request acts on, as prj_ and its lowercase UUID; optional while the
organization has one active project.
Read one project subaccount › Responses
The subaccount.
created_atcurrencydaily_spend_cap_minoridlive_callsmax_call_duration_secondsmax_concurrentmax_cpsmax_destination_rate_minornamerevisionThe save revision the ETag quotes; send it back as If-Match.
statusupdated_atUpdate a project subaccount
path Parameters
subaccount_idSubaccount id
Headers
If-MatchThe quoted revision the caller last read, so a concurrent change answers 412.
Signals-VersionThe supported API snapshot to use for this request.
X-Project-IDThe project the request acts on, as prj_ and its lowercase UUID; optional while the
organization has one active project.
Update a project subaccount › Responses
The subaccount was updated.
created_atcurrencydaily_spend_cap_minoridlive_callsmax_call_duration_secondsmax_concurrentmax_cpsmax_destination_rate_minornamerevisionThe save revision the ETag quotes; send it back as If-Match.
statusupdated_atResume call admission for a subaccount
path Parameters
subaccount_idSubaccount id
Headers
If-MatchThe quoted revision the caller last read, so a concurrent change answers 412.
Idempotency-KeyOne nonblank key of at most 128 characters; a retry with the same key repeats the outcome.
Signals-VersionThe supported API snapshot to use for this request.
X-Project-IDThe project the request acts on, as prj_ and its lowercase UUID; optional while the
organization has one active project.
Resume call admission for a subaccount › Responses
The subaccount is enabled; its trunks apply in the background.
created_atcurrencydaily_spend_cap_minoridlive_callsmax_call_duration_secondsmax_concurrentmax_cpsmax_destination_rate_minornamerevisionThe save revision the ETag quotes; send it back as If-Match.
statusupdated_atSuspend new call admission for a subaccount
path Parameters
subaccount_idSubaccount id
Headers
If-MatchThe quoted revision the caller last read, so a concurrent change answers 412.
Idempotency-KeyOne nonblank key of at most 128 characters; a retry with the same key repeats the outcome.
Signals-VersionThe supported API snapshot to use for this request.
X-Project-IDThe project the request acts on, as prj_ and its lowercase UUID; optional while the
organization has one active project.
Suspend new call admission for a subaccount › Responses
The subaccount is suspended; its trunks apply in the background.
created_atcurrencydaily_spend_cap_minoridlive_callsmax_call_duration_secondsmax_concurrentmax_cpsmax_destination_rate_minornamerevisionThe save revision the ETag quotes; send it back as If-Match.
statusupdated_at