To create a comment assessment for a conversation
To create a comment assessment for a conversation
POST
/v1/Insights/QualityManagement/Assessments/Comments
curl \
--request POST 'https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments/Comments' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--header "Authorization: string" \
--data 'Offset=6.985619&AgentId=583fcaa6-a4ef-5447-9077-900421e37a61&Comment=log0zu0268&SegmentId=dbdf1f7b-c776-5e78-9676-98a397fb3cdc&CategoryId=4b4e78e4-4f05-49e2-bf52-0973c5cde418&CategoryName=Good+for+Training'
Request example
{"Offset"=>"6.985619", "AgentId"=>"583fcaa6-a4ef-5447-9077-900421e37a61", "Comment"=>"log0zu0268", "SegmentId"=>"dbdf1f7b-c776-5e78-9676-98a397fb3cdc", "CategoryId"=>"4b4e78e4-4f05-49e2-bf52-0973c5cde418", "CategoryName"=>"Good for Training"}
Response examples (201)
{
"url": "https://flex-api.twilio.com/v1/Insights/QualityManagement/Assessments/Comments/FMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"offset": "0.0",
"report": true,
"weight": "1",
"comment": {
"comment": "log0zu0268",
"category": {
"name": "Good for Training",
"category_id": "c9ba34ca-7174-4dcd-ab3e-91fbb1932f1e"
}
},
"agent_id": "5d80ee80-7608-55df-b2b2-5ab5608b9831",
"timestamp": "1657329694199",
"user_name": "Linda Houghton",
"segment_id": "0105be7a-9b87-51f1-8df8-aa74ddb9c4a7",
"user_email": "linda.houghton@vacasa.com",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"assessment_sid": "FMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}