From 84760e0738666558aadaca3a01475339c425007b Mon Sep 17 00:00:00 2001 From: Salman Shah Date: Thu, 26 Feb 2026 14:13:12 +0000 Subject: [PATCH] docs: Add previous_ticket_state_id to Ticket schema (Unstable) Add previous_ticket_state_id field to Ticket response schema: - Property definition in ticket schema - Example value in response example - Nullable string type (null when no state change history) - Available in Unstable version only Related to: https://github.com/intercom/intercom/pull/474982 Co-Authored-By: Claude Sonnet 4.5 (1M context) --- descriptions/0/api.intercom.io.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 130b8ed..a5bb52f 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -8526,6 +8526,7 @@ paths: has_more: false category: Customer is_shared: true + previous_ticket_state_id: '7490' schema: "$ref": "#/components/schemas/ticket" '400': @@ -22848,6 +22849,13 @@ components: type: boolean description: Whether or not the ticket is shared with the customer. example: true + previous_ticket_state_id: + type: string + nullable: true + description: The ID of the previous ticket state from the most recent state + change. Returns null if no state change history exists. Useful for tracking + state transitions for reporting and compliance. + example: '7493' ticket_deleted: title: Ticket Deleted type: object