Skip to content

docs: Add previous_ticket_state_id to Ticket schema (Unstable)#388

Merged
salmanbshah merged 1 commit intomainfrom
salmanshah/add-previous-ticket-state-id
Mar 6, 2026
Merged

docs: Add previous_ticket_state_id to Ticket schema (Unstable)#388
salmanbshah merged 1 commit intomainfrom
salmanshah/add-previous-ticket-state-id

Conversation

@salmanbshah
Copy link
Contributor

Add previous_ticket_state_id field to Ticket response in Unstable API version.

Changes

  • Added property definition to ticket schema (line 22851-22857)
  • Added example value to response example (line 8530)
  • Field type: string (nullable)
  • Returns null when no state change history exists

Related

Implementation PR: https://github.com/intercom/intercom/pull/474982

Customer Use Case

Preply requested this field for tracking ticket state transitions programmatically for reporting and compliance purposes.

Availability

  • Unstable version only - Field available when using Intercom-Version: Unstable header
  • Not in numbered versions - Will be promoted to 2.12+ after production validation

@team-data-foundations for review

Generated with Claude Code

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: intercom/intercom#474982

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
@salmanbshah salmanbshah merged commit 23aabbf into main Mar 6, 2026
3 checks passed
@salmanbshah salmanbshah deleted the salmanshah/add-previous-ticket-state-id branch March 6, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants