Authorization: ********************
{
"asm_session_sid": 0,
"skills": {
"property1": 0,
"property2": 0
},
"channel_types": [
"CHANNEL_TYPE_EMAIL"
]
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/asm/asm/assignnewconversation' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"asm_session_sid": 0,
"skills": {
"property1": 0,
"property2": 0
},
"channel_types": [
"CHANNEL_TYPE_EMAIL"
]
}'
{
"conversation": {
"conversation_sid": 0,
"conversation_created_time": "1s",
"assigned_last_updated_time": "1s",
"conversation_status": "CONVERSATION_STATUS_NEW",
"channel_type": "CHANNEL_TYPE_EMAIL",
"customer_info": {
"name": "string",
"phone_number": "string",
"email_address": "string"
},
"last_message_time": "1s",
"skills": {
"skills": {
"property1": true,
"property2": true
}
},
"assignment_status": "ACTIVE_AGENT",
"assignment_type": "PRIMARY_AGENT",
"sla_timeouts": {
"t1": 0,
"t2": 0,
"t3": 0,
"t10": 0,
"t11": 0,
"t12": 0
},
"conversation_collected_data": {
"items": [
{
"conversation_collected_data_sid": 0,
"conversation_sid": 0,
"data_name": "string",
"data_value": "string",
"collection_time": "1s",
"user_id": "string"
}
]
},
"last_message_group_time": "1s",
"last_message_group_type": "OMNI_SENDER_TYPE_AGENT",
"task_sid": "string"
},
"reference_id": "string"
}