From 248977773a8918d1f3080acf5c977fbf7b16115a Mon Sep 17 00:00:00 2001 From: Varshini Suresh Date: Fri, 17 Apr 2026 15:31:25 +0100 Subject: [PATCH] Change ticket assignee ID fields to integer type in Preview spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- descriptions/0/api.intercom.io.yaml | 36 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 2817c58..e0383ad 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -10096,8 +10096,8 @@ paths: - type: contact id: 6762f2041bb69f9f2193bc0c external_id: '70' - admin_assignee_id: '0' - team_assignee_id: '0' + admin_assignee_id: 0 + team_assignee_id: 0 created_at: 1734537732 updated_at: 1734537737 ticket_parts: @@ -16587,8 +16587,8 @@ paths: - type: contact id: 6762f2d81bb69f9f2193bc54 external_id: '70' - admin_assignee_id: '0' - team_assignee_id: '0' + admin_assignee_id: 0 + team_assignee_id: 0 created_at: 1734537944 updated_at: 1734537946 ticket_parts: @@ -16829,8 +16829,8 @@ paths: - type: contact id: 6762f2dd1bb69f9f2193bc55 external_id: 8df1fa21-b41d-4621-9229-d6f7a3a590ce - admin_assignee_id: '991268013' - team_assignee_id: '0' + admin_assignee_id: 991268013 + team_assignee_id: 0 created_at: 1734537950 updated_at: 1734537955 ticket_parts: @@ -17135,8 +17135,8 @@ paths: - type: contact id: 6762f2f61bb69f9f2193bc59 external_id: b16afa36-2637-4880-adee-a46d145bc27f - admin_assignee_id: '0' - team_assignee_id: '0' + admin_assignee_id: 0 + team_assignee_id: 0 created_at: 1734537974 updated_at: 1734537976 ticket_parts: @@ -17320,8 +17320,8 @@ paths: - type: contact id: 667d61c88a68186f43bafe93 external_id: '71' - admin_assignee_id: '0' - team_assignee_id: '0' + admin_assignee_id: 0 + team_assignee_id: 0 created_at: 1719493065 updated_at: 1719493068 ticket_parts: @@ -17483,8 +17483,8 @@ paths: | ticket_type_id | String | | contact_ids | String | | teammate_ids | String | - | admin_assignee_id | String | - | team_assignee_id | String | + | admin_assignee_id | Integer | + | team_assignee_id | Integer | | open | Boolean | | state | String | | snoozed_until | Date (UNIX timestamp) | @@ -17600,8 +17600,8 @@ paths: - type: contact id: 6762f3061bb69f9f2193bc5b external_id: 9b913927-c084-4391-b1db-098341b5ffe3 - admin_assignee_id: '0' - team_assignee_id: '0' + admin_assignee_id: 0 + team_assignee_id: 0 created_at: 1734537990 updated_at: 1734537992 ticket_parts: @@ -27670,13 +27670,13 @@ components: contacts: "$ref": "#/components/schemas/ticket_contacts" admin_assignee_id: - type: string + type: integer description: The id representing the admin assigned to the ticket. - example: '1295' + example: 1295 team_assignee_id: - type: string + type: integer description: The id representing the team assigned to the ticket. - example: '1295' + example: 1295 created_at: type: integer format: date-time