Skip to content

Commit 68561ca

Browse files
VarshSureshclaude
andcommitted
Add channel field to ticket creation endpoints from v2.14
Document the optional `channel` field on the Create Ticket endpoint, available from API version 2.14 (AllowChannelToTicket). Request accepts `email` only (SUPPORTED_CHANNELS); the ticket response channel reflects the conversation's initial channel. Added to the create ticket request and ticket response schemas and the request examples across 2.14, 2.15, 2.16 and 0 (Preview). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ef8dfc1 commit 68561ca

4 files changed

Lines changed: 64 additions & 0 deletions

File tree

‎descriptions/0/api.intercom.io.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25891,6 +25891,7 @@ paths:
2589125891
has_more: false
2589225892
category: Back-office
2589325893
is_shared: false
25894+
channel: email
2589425895
schema:
2589525896
"$ref": "#/components/schemas/ticket"
2589625897
'401':
@@ -25928,6 +25929,7 @@ paths:
2592825929
ticket_attributes:
2592925930
_default_title_: example
2593025931
_default_description_: there is a problem
25932+
channel: email
2593125933
"/tickets/enqueue":
2593225934
post:
2593325935
summary: Enqueue create ticket
@@ -25961,6 +25963,7 @@ paths:
2596125963
ticket_attributes:
2596225964
_default_title_: example
2596325965
_default_description_: there is a problem
25966+
channel: email
2596425967
responses:
2596525968
'200':
2596625969
description: Successful response
@@ -37195,6 +37198,12 @@ components:
3719537198
description: The ID of the team to which the ticket is assigned.
3719637199
If not provided, the ticket will be unassigned.
3719737200
example: '8'
37201+
channel:
37202+
type: string
37203+
description: The channel for the ticket. Only supported for customer ticket types. Defaults to messenger if not provided.
37204+
enum:
37205+
- email
37206+
example: email
3719837207
required:
3719937208
- ticket_type_id
3720037209
- contacts
@@ -44053,6 +44062,13 @@ components:
4405344062
- Back-office
4405444063
- Tracker
4405544064
example: Customer
44065+
channel:
44066+
type: string
44067+
description: The channel for the ticket. Only supported for customer ticket types.
44068+
enum:
44069+
- email
44070+
- messenger
44071+
example: messenger
4405644072
ticket_attributes:
4405744073
"$ref": "#/components/schemas/ticket_custom_attributes"
4405844074
ticket_state:

‎descriptions/2.14/api.intercom.io.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14107,6 +14107,7 @@ paths:
1410714107
ticket_attributes:
1410814108
_default_title_: example
1410914109
_default_description_: there is a problem
14110+
channel: email
1411014111
"/tickets/enqueue":
1411114112
post:
1411214113
summary: Enqueue create ticket
@@ -14140,6 +14141,7 @@ paths:
1414014141
ticket_attributes:
1414114142
_default_title_: example
1414214143
_default_description_: there is a problem
14144+
channel: email
1414314145
responses:
1414414146
'200':
1414514147
description: Successful response
@@ -14619,6 +14621,7 @@ paths:
1461914621
has_more: false
1462014622
category: Back-office
1462114623
is_shared: false
14624+
channel: email
1462214625
schema:
1462314626
"$ref": "#/components/schemas/ticket"
1462414627
'401':
@@ -19570,6 +19573,12 @@ components:
1957019573
description: The ID of the team to which the ticket is assigned.
1957119574
If not provided, the ticket will be unassigned.
1957219575
example: '8'
19576+
channel:
19577+
type: string
19578+
description: The channel for the ticket. Only supported for customer ticket types. Defaults to messenger if not provided.
19579+
enum:
19580+
- email
19581+
example: email
1957319582
required:
1957419583
- ticket_type_id
1957519584
- contacts
@@ -22777,6 +22786,13 @@ components:
2277722786
- Back-office
2277822787
- Tracker
2277922788
example: Customer
22789+
channel:
22790+
type: string
22791+
description: The channel for the ticket. Only supported for customer ticket types.
22792+
enum:
22793+
- email
22794+
- messenger
22795+
example: messenger
2278022796
ticket_attributes:
2278122797
"$ref": "#/components/schemas/ticket_custom_attributes"
2278222798
ticket_state:

‎descriptions/2.15/api.intercom.io.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13398,6 +13398,7 @@ paths:
1339813398
ticket_attributes:
1339913399
_default_title_: example
1340013400
_default_description_: there is a problem
13401+
channel: email
1340113402
"/tickets/enqueue":
1340213403
post:
1340313404
summary: Enqueue create ticket
@@ -13431,6 +13432,7 @@ paths:
1343113432
ticket_attributes:
1343213433
_default_title_: example
1343313434
_default_description_: there is a problem
13435+
channel: email
1343413436
responses:
1343513437
'200':
1343613438
description: Successful response
@@ -13910,6 +13912,7 @@ paths:
1391013912
has_more: false
1391113913
category: Back-office
1391213914
is_shared: false
13915+
channel: email
1391313916
schema:
1391413917
"$ref": "#/components/schemas/ticket"
1391513918
'401':
@@ -20382,6 +20385,12 @@ components:
2038220385
description: The ID of the team to which the ticket is assigned.
2038320386
If not provided, the ticket will be unassigned.
2038420387
example: '8'
20388+
channel:
20389+
type: string
20390+
description: The channel for the ticket. Only supported for customer ticket types. Defaults to messenger if not provided.
20391+
enum:
20392+
- email
20393+
example: email
2038520394
required:
2038620395
- ticket_type_id
2038720396
- contacts
@@ -23786,6 +23795,13 @@ components:
2378623795
- Back-office
2378723796
- Tracker
2378823797
example: Customer
23798+
channel:
23799+
type: string
23800+
description: The channel for the ticket. Only supported for customer ticket types.
23801+
enum:
23802+
- email
23803+
- messenger
23804+
example: messenger
2378923805
ticket_attributes:
2379023806
"$ref": "#/components/schemas/ticket_custom_attributes"
2379123807
ticket_state:

‎descriptions/2.16/api.intercom.io.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21076,6 +21076,7 @@ paths:
2107621076
ticket_attributes:
2107721077
_default_title_: example
2107821078
_default_description_: there is a problem
21079+
channel: email
2107921080
"/tickets/enqueue":
2108021081
post:
2108121082
summary: Enqueue create ticket
@@ -21109,6 +21110,7 @@ paths:
2110921110
ticket_attributes:
2111021111
_default_title_: example
2111121112
_default_description_: there is a problem
21113+
channel: email
2111221114
responses:
2111321115
'200':
2111421116
description: Successful response
@@ -21588,6 +21590,7 @@ paths:
2158821590
has_more: false
2158921591
category: Back-office
2159021592
is_shared: false
21593+
channel: email
2159121594
schema:
2159221595
"$ref": "#/components/schemas/ticket"
2159321596
'401':
@@ -29649,6 +29652,12 @@ components:
2964929652
description: The ID of the team to which the ticket is assigned.
2965029653
If not provided, the ticket will be unassigned.
2965129654
example: '8'
29655+
channel:
29656+
type: string
29657+
description: The channel for the ticket. Only supported for customer ticket types. Defaults to messenger if not provided.
29658+
enum:
29659+
- email
29660+
example: email
2965229661
required:
2965329662
- ticket_type_id
2965429663
- contacts
@@ -34674,6 +34683,13 @@ components:
3467434683
- Back-office
3467534684
- Tracker
3467634685
example: Customer
34686+
channel:
34687+
type: string
34688+
description: The channel for the ticket. Only supported for customer ticket types.
34689+
enum:
34690+
- email
34691+
- messenger
34692+
example: messenger
3467734693
ticket_attributes:
3467834694
"$ref": "#/components/schemas/ticket_custom_attributes"
3467934695
ticket_state:

0 commit comments

Comments
 (0)