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": "991266730", "assignee_id": "991266732" }, "open": true, "snoozed_until": 1673609604 }
200
Successful response
401
Unauthorized
404
Assignee not found
{ "type": "ticket", "id": "160", "ticket_id": "13", "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": "30", "name": "my-ticket-type-17", "description": "my ticket type description is awesome.", "icon": "🦁", "workspace_id": "this_is_an_id688_that_should_be_at_least_", "archived": false, "created_at": 1715702222, "updated_at": 1715702222, "is_internal": false, "ticket_type_attributes": { "type": "list", "data": [ { "type": "ticket_type_attribute", "id": "69", "workspace_id": "this_is_an_id688_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": 30, "archived": false, "created_at": 1715702222, "updated_at": 1715702222 }, { "type": "ticket_type_attribute", "id": "70", "workspace_id": "this_is_an_id688_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": 30, "archived": false, "created_at": 1715702222, "updated_at": 1715702222 } ] }, "category": "Back-office" }, "contacts": { "type": "contact.list", "contacts": [ { "type": "contact", "id": "664389cf71858d1988dbadd0", "external_id": "221f27cd-8124-4c39-a51d-bc895df4ea64" } ] }, "admin_assignee_id": "991266732", "team_assignee_id": "0", "created_at": 1715702223, "updated_at": 1715702225, "ticket_parts": { "type": "ticket_part.list", "ticket_parts": [ { "type": "ticket_part", "id": "36", "part_type": "ticket_state_updated_by_admin", "ticket_state": "submitted", "previous_ticket_state": "submitted", "created_at": 1715702223, "updated_at": 1715702223, "author": { "id": "991266730", "type": "admin", "name": "Ciaran442 Lee", "email": "admin442@email.com" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "37", "part_type": "ticket_attribute_updated_by_admin", "created_at": 1715702224, "updated_at": 1715702224, "author": { "id": "991266731", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id688_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "38", "part_type": "ticket_attribute_updated_by_admin", "created_at": 1715702224, "updated_at": 1715702224, "author": { "id": "991266731", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id688_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "39", "part_type": "ticket_state_updated_by_admin", "ticket_state": "in_progress", "previous_ticket_state": "submitted", "created_at": 1715702225, "updated_at": 1715702225, "author": { "id": "991266731", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id688_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "40", "part_type": "assignment", "created_at": 1715702225, "updated_at": 1715702225, "assigned_to": { "type": "admin", "id": "991266732" }, "author": { "id": "991266730", "type": "admin", "name": "Ciaran442 Lee", "email": "admin442@email.com" }, "attachments": [ ], "redacted": false }, { "type": "ticket_part", "id": "41", "part_type": "snoozed", "created_at": 1715702225, "updated_at": 1715702225, "author": { "id": "991266731", "type": "bot", "name": "Operator", "email": "operator+this_is_an_id688_that_should_be_at_least_@intercom.io" }, "attachments": [ ], "redacted": false } ], "total_count": 6 }, "open": true, "snoozed_until": 1715788800, "linked_objects": { "type": "list", "data": [ ], "total_count": 0, "has_more": false }, "category": "Back-office", "is_shared": false }