Change ticket & conversation assignee ID fields to integer type (Preview)#459
Merged
VarshSuresh merged 2 commits intomainfrom Apr 22, 2026
Merged
Conversation
Convert admin_assignee_id and team_assignee_id from string to integer in the Preview API spec to align the Ticket API with the Conversation API, which already returns these fields as integers. Mirrors intercom/developer-docs#849 (backend: intercom/intercom#497865). Affected endpoints: POST /tickets, PUT /tickets/{id}, POST /tickets/search. Stable versions (2.7–2.15) are not affected. Co-Authored-By: Claude Opus 4.6 <[email protected]>
2489777 to
524ca28
Compare
…n Preview spec Conversation schemas: remove nullable from admin_assignee_id and team_assignee_id, return 0 instead of null when unassigned. Ticket schema: add return-0-when-unassigned language to descriptions. Aligns with developer-docs PR #849. Co-Authored-By: Claude Opus 4.6 <[email protected]>
dan0505
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why?
Towards
The Ticket API response returns
admin_assignee_idandteam_assignee_idas strings, while the Conversation API returns them as integers. This inconsistency causes confusion for API consumers working with both resource types. The backend change (intercom/intercom#497865) converts these fields to integers in the unstable/Preview version, and these docs need to reflect that.How?
Updates the Preview OpenAPI spec to change the ticket response schema types from
stringtointeger, updates all response examples to use bare integers, and adds a breaking change changelog entry.Docs PR
Generated with Claude Code