Authorization: ********************
{
"query": {
"transcript_sid": {
"any": [
0
]
},
"channel": {
"any": [
"CHANNEL_TYPE_EMAIL"
]
},
"metadata": {
"call": {
"call_sid": {
"any": [
0
]
},
"audio_time": {
"gte": 0,
"lte": 0,
"gt": 0,
"lt": 0
},
"call_type": {
"any": [
"INBOUND"
]
},
"silence": {
"duration_total": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"duration_max": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"occurrence_total": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
},
"duration_percentage": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
}
},
"talk_over": {
"duration_total": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"duration_max": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"occurrence_total": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
},
"duration_percentage": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
}
},
"talk_time": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"caller_id": {
"any": [
"string"
]
},
"group_name": {
"any": [
"string"
]
},
"agent_response": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"key": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"values": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"numbers": {
"in": [
0
],
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string",
"eq": "string"
}
},
"hunt_group_sids": {
"any": [
0
]
},
"agent_call_log": {
"call_skills_initial": {
"need": {
"values": [
"string"
],
"all": true
},
"want": {
"values": [
"string"
],
"all": true
}
},
"call_ended": {
"reasons": [
"AGENT_CANCELLED"
]
}
},
"audio_bytes": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"recording_type": {
"any": [
"RECORDING_TYPE_TCN"
]
}
},
"sms": {
"conversation_sid": {
"any": [
0
]
},
"campaign_sid": {
"any": [
0
]
}
},
"chat": {
"conversation_sid": {
"any": [
0
]
},
"campaign_sid": {
"any": [
0
]
},
"customer_name": {
"any": [
"string"
]
},
"email_address": {
"any": [
"string"
]
}
}
},
"threads": {
"and": [
{}
],
"or": [
{}
],
"id": {
"any": [
0
]
},
"text": {
"match": {
"fuzziness_auto": {
"low": 0,
"high": 0
}
},
"span_near": {
"slop": 0,
"in_order": true,
"clauses": [
{
"span_fuzzy": {
"fuzziness_auto": {
"low": 0,
"high": 0
}
}
}
]
},
"timespan": {
"head": "string",
"tail": "string"
},
"not": true
},
"user_id": {
"any": [
"string"
]
}
},
"flag_summary": {
"need_review": {
"flag_sids": {
"any": [
0
]
}
},
"review_status": {
"any": [
"REVIEW_STATUS_TODO"
]
},
"flags": {
"flag_sid": {
"any": [
0
],
"all": [
0
]
}
},
"count": {
"gte": 0,
"lte": 0,
"gt": 0,
"lt": 0,
"eq": 0
}
},
"start_time": {
"gte": "1s",
"lte": "1s",
"gt": "1s",
"lt": "1s",
"moment": {
"time_zone": "string",
"interval": "TODAY"
}
},
"delete_time": {
"gte": "1s",
"lte": "1s",
"gt": "1s",
"lt": "1s"
},
"phone": {
"cc": {
"any": [
"string"
]
},
"ndc": {
"any": [
"string"
]
},
"prefix": {
"any": [
"string"
]
},
"city": {
"any": [
"string"
]
},
"iso2": {
"any": [
"string"
]
},
"region_code": {
"any": [
"string"
]
},
"region_name": {
"any": [
"string"
]
},
"time_zone": {
"any": [
"string"
]
},
"type": {
"any": [
"string"
]
},
"utc": {
"any": [
0
]
},
"location": {
"zip_code_proximity": {
"country_code": "string",
"zip_code": "string",
"distance": "string"
}
},
"raw": {
"any": [
"string"
]
}
},
"channel_type": {
"any": [
"CHANNEL_TYPE_EMAIL"
]
},
"skills": {
"need": {
"any": [
"string"
],
"all": [
"string"
]
},
"want": {
"any": [
"string"
],
"all": [
"string"
]
},
"or": [
{}
]
},
"agent_response": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"key": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"values": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"numbers": {
"in": [
0
],
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string",
"eq": "string"
}
}
}
}
curl --location --request POST 'https://api.cbf.tcn.com/wfo/vanalytics/v2/bulkdeletetranscripts' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": {
"transcript_sid": {
"any": [
0
]
},
"channel": {
"any": [
"CHANNEL_TYPE_EMAIL"
]
},
"metadata": {
"call": {
"call_sid": {
"any": [
0
]
},
"audio_time": {
"gte": 0,
"lte": 0,
"gt": 0,
"lt": 0
},
"call_type": {
"any": [
"INBOUND"
]
},
"silence": {
"duration_total": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"duration_max": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"occurrence_total": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
},
"duration_percentage": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
}
},
"talk_over": {
"duration_total": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"duration_max": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"occurrence_total": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
},
"duration_percentage": {
"gte": {
"value": 0
},
"lte": {
"value": 0
},
"gt": {
"value": 0
},
"lt": {
"value": 0
}
}
},
"talk_time": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"caller_id": {
"any": [
"string"
]
},
"group_name": {
"any": [
"string"
]
},
"agent_response": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"key": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"values": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"numbers": {
"in": [
0
],
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string",
"eq": "string"
}
},
"hunt_group_sids": {
"any": [
0
]
},
"agent_call_log": {
"call_skills_initial": {
"need": {
"values": [
"string"
],
"all": true
},
"want": {
"values": [
"string"
],
"all": true
}
},
"call_ended": {
"reasons": [
"AGENT_CANCELLED"
]
}
},
"audio_bytes": {
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string"
},
"recording_type": {
"any": [
"RECORDING_TYPE_TCN"
]
}
},
"sms": {
"conversation_sid": {
"any": [
0
]
},
"campaign_sid": {
"any": [
0
]
}
},
"chat": {
"conversation_sid": {
"any": [
0
]
},
"campaign_sid": {
"any": [
0
]
},
"customer_name": {
"any": [
"string"
]
},
"email_address": {
"any": [
"string"
]
}
}
},
"threads": {
"and": [
{}
],
"or": [
{}
],
"id": {
"any": [
0
]
},
"text": {
"match": {
"fuzziness_auto": {
"low": 0,
"high": 0
}
},
"span_near": {
"slop": 0,
"in_order": true,
"clauses": [
{
"span_fuzzy": {
"fuzziness_auto": {
"low": 0,
"high": 0
}
}
}
]
},
"timespan": {
"head": "string",
"tail": "string"
},
"not": true
},
"user_id": {
"any": [
"string"
]
}
},
"flag_summary": {
"need_review": {
"flag_sids": {
"any": [
0
]
}
},
"review_status": {
"any": [
"REVIEW_STATUS_TODO"
]
},
"flags": {
"flag_sid": {
"any": [
0
],
"all": [
0
]
}
},
"count": {
"gte": 0,
"lte": 0,
"gt": 0,
"lt": 0,
"eq": 0
}
},
"start_time": {
"gte": "1s",
"lte": "1s",
"gt": "1s",
"lt": "1s",
"moment": {
"time_zone": "string",
"interval": "TODAY"
}
},
"delete_time": {
"gte": "1s",
"lte": "1s",
"gt": "1s",
"lt": "1s"
},
"phone": {
"cc": {
"any": [
"string"
]
},
"ndc": {
"any": [
"string"
]
},
"prefix": {
"any": [
"string"
]
},
"city": {
"any": [
"string"
]
},
"iso2": {
"any": [
"string"
]
},
"region_code": {
"any": [
"string"
]
},
"region_name": {
"any": [
"string"
]
},
"time_zone": {
"any": [
"string"
]
},
"type": {
"any": [
"string"
]
},
"utc": {
"any": [
0
]
},
"location": {
"zip_code_proximity": {
"country_code": "string",
"zip_code": "string",
"distance": "string"
}
},
"raw": {
"any": [
"string"
]
}
},
"channel_type": {
"any": [
"CHANNEL_TYPE_EMAIL"
]
},
"skills": {
"need": {
"any": [
"string"
],
"all": [
"string"
]
},
"want": {
"any": [
"string"
],
"all": [
"string"
]
},
"or": [
{}
]
},
"agent_response": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"key": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"values": {
"in": [
"string"
],
"starts_with": "string",
"contains": "string"
},
"numbers": {
"in": [
0
],
"gte": "string",
"lte": "string",
"gt": "string",
"lt": "string",
"eq": "string"
}
}
}
}'
{
"total": 0
}