Description: Api to assign ticket to an agent or admin

HTTP Method : PATCH     

URL :   v3/ticket/assign

Content-Type: application/json

NameData TypeRequired / OptionalDescription
assigned_tostringRequiredtakes two values =>
1. user_{user_id} => if you want to assign to an agent or yourself, in this case replace user id with the id of the agent
2. team_{team_id} => if you want to assign to a team then in this case replace team_id with the id of the team
ticket_idstringRequiredThe id of the ticket you want to assign. In case of multiple add multiple ticket ids separated by comma like this “1,2,3”



“success”: true,

“message”: “Assigned Successfully”



    Endpoint : v3/ticket/assign/

CURL Request

curl -X POST https://your-api-url/v3/ticket/assign \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {token}' \
-d '{ "assign_to": "user_1", "ticket_id": "1" }' \