{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can update a ticket.","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"ticket_id":{"type":"string","description":"The unique identifier for the ticket which is given by Intercom.\n{% admonition type=\"info\" name=\"Not the Inbox ticket ID\" %}\nThis is the internal `id` field from the API response, not the `ticket_id` displayed in the Intercom Inbox (e.g., #12345). Use the `id` value from the ticket object returned by the API.\n{% /admonition %}\n"}},"required":["ticket_id"],"additionalProperties":false},"body":{"allOf":[{"$ref":"#/definitions/update_ticket_request"}],"properties":{"skip_notifications":{"type":"boolean","description":"Option to disable notifications when a Ticket is updated.","examples":[true]}},"examples":[{"ticket_attributes":{"_default_title_":"example","_default_description_":"there is a problem"},"admin_id":991268011,"assignee_id":"991268013","open":true,"snoozed_until":1673609604,"ticket_state_id":"8498"}]}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"update_ticket_request":{"description":"You can update a Ticket","type":"object","title":"Update Ticket Request Payload","properties":{"ticket_attributes":{"type":"object","description":"The attributes set on the ticket.","examples":[{"_default_title_":"example","_default_description_":"having a problem"}]},"ticket_state_id":{"type":"string","description":"The ID of the ticket state associated with the ticket type.","examples":["123"]},"company_id":{"type":"string","description":"The ID of the company that the ticket is associated with. The unique identifier for the company which is given by Intercom. Set to nil to remove company.","examples":["5f4d3c1c-7b1b-4d7d-a97e-6095715c6632"]},"open":{"type":"boolean","description":"Specify if a ticket is open. Set to false to close a ticket. Closing a ticket will also unsnooze it.","examples":[true]},"is_shared":{"type":"boolean","description":"Set to `true` to share a ticket with the customer. Only a ticket that isn't shared yet can be shared: a Back-office ticket, of a ticket type that isn't internal, that is linked to a conversation with no other shared linked ticket. Sending `false`, or `true` for a ticket that is already shared (Customer tickets are shared by default) or can't be shared (Tracker tickets), returns a `400`.","examples":[true]},"snoozed_until":{"type":"integer","description":"The time you want the ticket to reopen.","examples":[1673609604]},"admin_id":{"type":"integer","description":"The ID of the admin performing ticket update. Needed for workflows execution and attributing actions to specific admins.","examples":[123]},"assignee_id":{"type":"string","description":"The ID of the admin or team to which the ticket is assigned. Set this 0 to unassign it.","examples":["123"]}}}}},"name":"Update a ticket","id":"intercom.updateticket","example":{"path":{"ticket_id":"example"}},"maxRequests":1,"summary":false}}