Skip to content

Commit 5e82d3a

Browse files
VarshSureshclaude
andcommitted
Add channel field to ticket creation endpoints
Add a new `channel` field to ticket creation and conversion endpoints in the unstable API spec. The channel field: - Accepts enum value "email" (currently the only supported value) - Only supported for customer ticket types - Defaults to "messenger" when not provided - Included in ticket response schema with both "email" and "messenger" enum values Updated schemas: - create_ticket_request - convert_conversation_to_ticket_request - ticket (response schema) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 29c6d6f commit 5e82d3a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13589,6 +13589,7 @@ paths:
1358913589
has_more: false
1359013590
category: Back-office
1359113591
is_shared: false
13592+
channel: email
1359213593
schema:
1359313594
"$ref": "#/components/schemas/ticket"
1359413595
'401':
@@ -13626,6 +13627,7 @@ paths:
1362613627
ticket_attributes:
1362713628
_default_title_: example
1362813629
_default_description_: there is a problem
13630+
channel: email
1362913631
"/tickets/enqueue":
1363013632
post:
1363113633
summary: Enqueue create ticket
@@ -13659,6 +13661,7 @@ paths:
1365913661
ticket_attributes:
1366013662
_default_title_: example
1366113663
_default_description_: there is a problem
13664+
channel: email
1366213665
responses:
1366313666
'200':
1366413667
description: Successful response
@@ -18186,6 +18189,12 @@ components:
1818618189
description: The ID of the type of ticket you want to convert the conversation
1818718190
to
1818818191
example: '1234'
18192+
channel:
18193+
type: string
18194+
description: The channel for the ticket. Only supported for customer ticket types. Defaults to messenger if not provided.
18195+
enum:
18196+
- email
18197+
example: email
1818918198
attributes:
1819018199
"$ref": "#/components/schemas/ticket_request_custom_attributes"
1819118200
required:
@@ -19053,6 +19062,12 @@ components:
1905319062
description: The ID of the team to which the ticket is assigned.
1905419063
If not provided, the ticket will be unassigned.
1905519064
example: '8'
19065+
channel:
19066+
type: string
19067+
description: The channel for the ticket. Only supported for customer ticket types. Defaults to messenger if not provided.
19068+
enum:
19069+
- email
19070+
example: email
1905619071
required:
1905719072
- ticket_type_id
1905819073
- contacts
@@ -22007,6 +22022,13 @@ components:
2200722022
- Back-office
2200822023
- Tracker
2200922024
example: Customer
22025+
channel:
22026+
type: string
22027+
description: The channel for the ticket. Only supported for customer ticket types.
22028+
enum:
22029+
- email
22030+
- messenger
22031+
example: messenger
2201022032
ticket_attributes:
2201122033
"$ref": "#/components/schemas/ticket_custom_attributes"
2201222034
ticket_state:

0 commit comments

Comments
 (0)