Create Voice IN Trunk Group
create_trunk_groupCreate a Voice IN Trunk Group for the authenticated customer — a failover / load-balancing container of existing Voice IN Trunks. A DID assigned to the group is routed to the member trunks by priority (lowest tried first) and, among equal priorities, by weight (higher preferred). Pass members to add existing SIP / PSTN / phone.systems™ trunks (by trunk id from list_trunks) with optional per-member priority and weight; a trunk group cannot contain another trunk group, and a group holds at most 10 member trunks. A member already in another group is moved. Returns the created group with its members in routing order, or a readable error if the configuration is invalid (nothing is created).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Friendly name of the Voice IN Trunk Group (must be unique for the customer). | |
| members | No | Optional. Member trunks to place in the group (max 10). Each entry: trunk_id (required, a Voice IN Trunk UUID from list_trunks) plus optional priority / weight. | |
| capacity_limit | No | Optional. Maximum number of simultaneous calls for the whole group. |