Assign A Channel Target
Path parameters
Request body
The internal ID of the agent associated with the channel target
The internal ID of the channel associated with the channel target
The name of the channel target. Must correspond to an organization-level target (available targets can be fetched from /channels/available-targets).
Available modes (communication methods) for channel targets.
The fallback for the channel target (currently only supported for "voice" mode)
Whether the channel target is intended for testing. If true, any sessions created through this target will be labeled as a test session (i.e., will not be included in dashboard data and can easily be filtered out in the Sessions screen in the SyllableConsole).
Example request
{
"agent_id": 1,
"channel_id": 1,
"target": "+19995551234",
"fallback_target": "+19995551235",
"is_test": true
}Response
Successful Response
The internal ID of the agent associated with the channel target
The internal ID of the channel associated with the channel target
The name of the channel target. Must correspond to an organization-level target (available targets can be fetched from /channels/available-targets).
Available modes (communication methods) for channel targets.
The fallback for the channel target (currently only supported for "voice" mode)
Whether the channel target is intended for testing. If true, any sessions created through this target will be labeled as a test session (i.e., will not be included in dashboard data and can easily be filtered out in the Sessions screen in the SyllableConsole).
The internal ID of the channel target
The name of the channel associated with the channel target
Timestamp of the most recent update to the channel target
Email of the user who last updated the channel target
Twilio US A2P messaging-path configuration snapshot from the last explicit verify; null if never checked.