Skip to content

Commit 524ca28

Browse files
VarshSureshclaude
andcommitted
Change ticket assignee ID fields to integer type in Preview spec
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 <noreply@anthropic.com>
1 parent 952557b commit 524ca28

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

descriptions/0/api.intercom.io.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10098,8 +10098,8 @@ paths:
1009810098
- type: contact
1009910099
id: 6762f2041bb69f9f2193bc0c
1010010100
external_id: '70'
10101-
admin_assignee_id: '0'
10102-
team_assignee_id: '0'
10101+
admin_assignee_id: 0
10102+
team_assignee_id: 0
1010310103
created_at: 1734537732
1010410104
updated_at: 1734537737
1010510105
ticket_parts:
@@ -16426,8 +16426,8 @@ paths:
1642616426
- type: contact
1642716427
id: 6762f2d81bb69f9f2193bc54
1642816428
external_id: '70'
16429-
admin_assignee_id: '0'
16430-
team_assignee_id: '0'
16429+
admin_assignee_id: 0
16430+
team_assignee_id: 0
1643116431
created_at: 1734537944
1643216432
updated_at: 1734537946
1643316433
ticket_parts:
@@ -16668,8 +16668,8 @@ paths:
1666816668
- type: contact
1666916669
id: 6762f2dd1bb69f9f2193bc55
1667016670
external_id: 8df1fa21-b41d-4621-9229-d6f7a3a590ce
16671-
admin_assignee_id: '991268013'
16672-
team_assignee_id: '0'
16671+
admin_assignee_id: 991268013
16672+
team_assignee_id: 0
1667316673
created_at: 1734537950
1667416674
updated_at: 1734537955
1667516675
ticket_parts:
@@ -16974,8 +16974,8 @@ paths:
1697416974
- type: contact
1697516975
id: 6762f2f61bb69f9f2193bc59
1697616976
external_id: b16afa36-2637-4880-adee-a46d145bc27f
16977-
admin_assignee_id: '0'
16978-
team_assignee_id: '0'
16977+
admin_assignee_id: 0
16978+
team_assignee_id: 0
1697916979
created_at: 1734537974
1698016980
updated_at: 1734537976
1698116981
ticket_parts:
@@ -17159,8 +17159,8 @@ paths:
1715917159
- type: contact
1716017160
id: 667d61c88a68186f43bafe93
1716117161
external_id: '71'
17162-
admin_assignee_id: '0'
17163-
team_assignee_id: '0'
17162+
admin_assignee_id: 0
17163+
team_assignee_id: 0
1716417164
created_at: 1719493065
1716517165
updated_at: 1719493068
1716617166
ticket_parts:
@@ -17322,8 +17322,8 @@ paths:
1732217322
| ticket_type_id | String |
1732317323
| contact_ids | String |
1732417324
| teammate_ids | String |
17325-
| admin_assignee_id | String |
17326-
| team_assignee_id | String |
17325+
| admin_assignee_id | Integer |
17326+
| team_assignee_id | Integer |
1732717327
| open | Boolean |
1732817328
| state | String |
1732917329
| snoozed_until | Date (UNIX timestamp) |
@@ -17439,8 +17439,8 @@ paths:
1743917439
- type: contact
1744017440
id: 6762f3061bb69f9f2193bc5b
1744117441
external_id: 9b913927-c084-4391-b1db-098341b5ffe3
17442-
admin_assignee_id: '0'
17443-
team_assignee_id: '0'
17442+
admin_assignee_id: 0
17443+
team_assignee_id: 0
1744417444
created_at: 1734537990
1744517445
updated_at: 1734537992
1744617446
ticket_parts:
@@ -27461,13 +27461,13 @@ components:
2746127461
contacts:
2746227462
"$ref": "#/components/schemas/ticket_contacts"
2746327463
admin_assignee_id:
27464-
type: string
27464+
type: integer
2746527465
description: The id representing the admin assigned to the ticket.
27466-
example: '1295'
27466+
example: 1295
2746727467
team_assignee_id:
27468-
type: string
27468+
type: integer
2746927469
description: The id representing the team assigned to the ticket.
27470-
example: '1295'
27470+
example: 1295
2747127471
created_at:
2747227472
type: integer
2747327473
format: date-time

0 commit comments

Comments
 (0)