You can update a ticket.
You can update a ticket.
{ "ticket_attributes": { "title": "example", "description": "there is a problem" }, "state": "in_progress", "assignment": { "admin_id": "991282732", "assignee_id": "991282734" }, "open": true, "snoozed_until": 1673609604 }
200
Successful response
401
Unauthorized
404
Assignee not found
{ "type": "ticket", "id": "4899", "ticket_id": "219", "ticket_attributes": { "title": "example", "description": "there is a problem" }, "ticket_state": "in_progress", "ticket_state_internal_label": "In progress", "ticket_state_external_label": "In progress", "ticket_type": { "type": "ticket_type", "id": "904", "name": "my-ticket-type-17", "description": "my ticket type description is awesome.", "icon": "🦁", "workspace_id": "this_is_an_id630_that_should_be_at_least_", "archived": false, "created_at": 1712223155, "updated_at": 1712223155, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ { "type": "ticket_type_attribute", "id": "2487", "workspace_id": "this_is_an_id630_that_should_be_at_least_", "name": "title", "description": "ola", "data_type": "string", "input_options": null, "order": 0, "required_to_create": true, "required_to_create_for_contacts": false, "visible_on_create": true, "visible_to_contacts": false, "default": false, "ticket_type_id": 904, "archived": false, "created_at": 1712223155, "updated_at": 1712223155 }, { "type": "ticket_type_attribute", "id": "2488", "workspace_id": "this_is_an_id630_that_should_be_at_least_", "name": "description", "description": "ola", "data_type": "string", "input_options": null, "order": 0, "required_to_create": true, "required_to_create_for_contacts": false, "visible_on_create": true, "visible_to_contacts": false, "default": false, "ticket_type_id": 904, "archived": false, "created_at": 1712223155, "updated_at": 1712223155 } ] }, "category": "Back-office" }, "contacts": { "type": "contact.list", "contacts": [ { "type": "contact", "id": "660e73b36abd01bd27af6236", "external_id": "c6314907-b086-43d5-892a-481e5dab9e4f" } ] }, "admin_assignee_id": "991282734", "team_assignee_id": "0", "created_at": 1712223156, "updated_at": 1712223158, "ticket_parts": { "type": "ticket_part.list", "ticket_parts": [ { "type": "ticket_part", "id": "1145", "part_type": "ticket_state_updated_by_admin", "ticket_state": "submitted", "previous_ticket_state": "submitted", "created_at": 1712223156, "updated_at": 1712223156, "author": { "id": "991282732", "type": "admin", "name": "Ciaran408 Lee", "email": "admin408@email.com" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "1146", "part_type": "ticket_attribute_updated_by_admin", "created_at": 1712223157, "updated_at": 1712223157, "author": { "id": "991282733", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id630_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "1147", "part_type": "ticket_attribute_updated_by_admin", "created_at": 1712223157, "updated_at": 1712223157, "author": { "id": "991282733", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id630_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "1148", "part_type": "ticket_state_updated_by_admin", "ticket_state": "in_progress", "previous_ticket_state": "submitted", "created_at": 1712223158, "updated_at": 1712223158, "author": { "id": "991282733", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id630_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "1149", "part_type": "assignment", "created_at": 1712223158, "updated_at": 1712223158, "assigned_to": { "type": "admin", "id": "991282734" }, "author": { "id": "991282732", "type": "admin", "name": "Ciaran408 Lee", "email": "admin408@email.com" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "1150", "part_type": "snoozed", "created_at": 1712223158, "updated_at": 1712223158, "author": { "id": "991282733", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id630_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false } ], "total_count": 6 }, "open": true, "snoozed_until": 1712332800, "linked_objects": { "type": "list", "data": [ ], "total_count": 0, "has_more": false }, "category": "Back-office", "is_shared": false }