List Graph Phone Numbers
Get all phone numbers currently assigned to a specific assistant graph.The unique identifier of the graph.
Response
Whether the request was successful.
Array of phone number objects assigned to the graph.
Summary message with count of phone numbers.
Assign Phone Number to Graph
Assign a phone number to an assistant graph. This enables the graph’s multi-assistant orchestration for calls to this number.The unique identifier of the graph.
The unique identifier of the phone number to assign.
Response
Whether the assignment was successful.
Confirmation message.
Assignment details.
Unassign Phone Number from Graph
Remove a phone number from an assistant graph. The phone number remains in your organization but is no longer routed through the graph.The unique identifier of the graph.
The unique identifier of the phone number to unassign.
Response
Whether the unassignment was successful.
Confirmation message.
Unassignment details.
Assignment Behavior
When Assigning to a Graph
- Previous Assignment Cleared: If the phone number was assigned to an individual assistant, that assignment is removed
- Graph Entry Node: Incoming calls are routed to the graph’s entry node
- Orchestration Enabled: Multi-assistant routing becomes active for this number
When Unassigning from a Graph
- Routing Disabled: Calls to this number will no longer be handled by the graph
- Re-assignment Required: The phone number must be assigned to either another graph or an individual assistant to handle calls
- No Automatic Fallback: Unassigned numbers don’t automatically fall back to any default handler
Error Responses
| Status Code | Description |
|---|---|
| 400 | Phone number assignment failed (e.g., already assigned elsewhere) |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Graph or phone number not found in your organization |
| 500 | Server error |