Ticket Management
Assign Ticket Reviewer
Changed onAssign a ticket to a reviewer in your company by email, or remove the current reviewer.
Only the reviewer changes. The ticket keeps its status and review queue, and resolved tickets can be reassigned too. When the reviewer changes, AiPrise records the change in the activity trail and sends a TICKET_REVIEWER_UPDATE event to the events callback URL, if one is set.
If the ticket already has that reviewer, nothing changes and the response has updated: false.
Requires ticket management to be enabled for your company. Limited to 60 requests per minute per API key.
post/tickets/{ticket_id}/assign
Request
- Base URLhttps://api-sandbox.aiprise.com/api/v1
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ticket_idstring required
ID of the ticket. Ticket event callbacks include it as ticket_id.
Request body
Example request
{
"assignee_email": "reviewer@yourcompany.com"
}Response
The ticket after the request. updated is false when the ticket already had this reviewer.
Example response
{
"ticket_id": "8c1e2f4a-5b6d-4e7f-9a0b-1c2d3e4f5a6b",
"target_id": "550e8400-e29b-41d4-a716-446655440000",
"target_id_type": "USER",
"ticket_status": "OPEN",
"trigger": "CASE_GOES_TO_REVIEW",
"review_queue": {
"review_queue_id": "2b7d9e10-4c3a-4f8e-9d21-6a5b4c3d2e1f",
"name": "High risk KYC"
},
"assignee": {
"email": "reviewer@yourcompany.com"
},
"created_at": 1757500000000,
"updated": true
}Changes
- info
endpoint added
- info