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": "991274701", "assignee_id": "991274703" }, "open": true, "snoozed_until": 1673609604 }
200
Successful response
401
Unauthorized
404
Assignee not found
{ "type": "ticket", "id": "2474", "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": "445", "name": "my-ticket-type-8", "description": "my ticket type description is awesome.", "icon": "🦁", "workspace_id": "this_is_an_id636_that_should_be_at_least_", "archived": false, "created_at": 1715596950, "updated_at": 1715596950, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ { "type": "ticket_type_attribute", "id": "1204", "workspace_id": "this_is_an_id636_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": 445, "archived": false, "created_at": 1715596950, "updated_at": 1715596950 }, { "type": "ticket_type_attribute", "id": "1205", "workspace_id": "this_is_an_id636_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": 445, "archived": false, "created_at": 1715596950, "updated_at": 1715596950 } ] } }, "contacts": { "type": "contact.list", "contacts": [ { "id": "6641ee966abd011a6b4f2661", "role": "lead" } ] }, "admin_assignee_id": "991274703", "team_assignee_id": "0", "created_at": 1715596950, "updated_at": 1715596952, "ticket_parts": { "type": "ticket_part.list", "ticket_parts": [ { "type": "ticket_part", "id": "551", "part_type": "ticket_state_updated_by_admin", "ticket_state": "submitted", "previous_ticket_state": "submitted", "created_at": 1715596950, "updated_at": 1715596950, "author": { "id": "991274701", "type": "admin", "name": "Ciaran412 Lee", "email": "admin412@email.com" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "552", "part_type": "ticket_attribute_updated_by_admin", "created_at": 1715596951, "updated_at": 1715596951, "author": { "id": "991274702", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id636_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "553", "part_type": "ticket_attribute_updated_by_admin", "created_at": 1715596951, "updated_at": 1715596951, "author": { "id": "991274702", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id636_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "554", "part_type": "ticket_state_updated_by_admin", "ticket_state": "in_progress", "previous_ticket_state": "submitted", "created_at": 1715596952, "updated_at": 1715596952, "author": { "id": "991274702", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id636_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "555", "part_type": "assignment", "created_at": 1715596952, "updated_at": 1715596952, "assigned_to": { "type": "admin", "id": "991274703" }, "author": { "id": "991274701", "type": "admin", "name": "Ciaran412 Lee", "email": "admin412@email.com" }, "attachments": [ ], "redacted": false } ], "total_count": 5 } }