Authorization: ********************
{
"from_hunt_group_sid": 0,
"to_hunt_group_sid": 0,
"agent_trigger": {
"agent_trigger_sid": 0,
"description": "string",
"agent_status_option": {
"agent_status": "AGENT_STATUS_UNSPECIFIED",
"duration": 0,
"pause_code": {
"custom_pause_code": "string"
},
"call_types": {
"outbound": true,
"inbound": true,
"manual": true,
"preview": true
},
"scheduled_callback_present": true
},
"trigger_action_option": {
"action": "TRIGGER_ACTION_UNSPECIFIED",
"display_message": "string",
"advance_to_status": "AGENT_STATUS_UNSPECIFIED",
"web_link_sid": 0,
"integration_link_sid": 0,
"exile_link_sid": 0,
"pause_code": {
"custom_pause_code": "string"
}
}
}
}
curl --location --request POST 'https://api.cbf.tcn.com/services/org/huntgroups/v1alpha1/copyhuntgroupagenttrigger' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"from_hunt_group_sid": 0,
"to_hunt_group_sid": 0,
"agent_trigger": {
"agent_trigger_sid": 0,
"description": "string",
"agent_status_option": {
"agent_status": "AGENT_STATUS_UNSPECIFIED",
"duration": 0,
"pause_code": {
"custom_pause_code": "string"
},
"call_types": {
"outbound": true,
"inbound": true,
"manual": true,
"preview": true
},
"scheduled_callback_present": true
},
"trigger_action_option": {
"action": "TRIGGER_ACTION_UNSPECIFIED",
"display_message": "string",
"advance_to_status": "AGENT_STATUS_UNSPECIFIED",
"web_link_sid": 0,
"integration_link_sid": 0,
"exile_link_sid": 0,
"pause_code": {
"custom_pause_code": "string"
}
}
}
}'
{}