Skip to content

Commit e83d470

Browse files
Document setting ticket priority on the update endpoint (Preview) (#647)
* Document setting ticket priority on the update endpoint (Preview) Adds priority to the Preview update-ticket request body and example. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Declare the 403 and 422 responses the ticket priority write can return The update-ticket operation only declared 200/404/400/401, so neither error case for the new priority field was discoverable from the spec. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 96a946f commit e83d470

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23801,6 +23801,34 @@ paths:
2380123801
message: Access Token Invalid
2380223802
schema:
2380323803
"$ref": "#/components/schemas/error"
23804+
'403':
23805+
description: Forbidden
23806+
content:
23807+
application/json:
23808+
examples:
23809+
Teammate without Inbox access:
23810+
value:
23811+
type: error.list
23812+
request_id: 8e4a1ee0-2a4c-4a9f-9c3f-1c2b6d7e5f01
23813+
errors:
23814+
- code: action_forbidden
23815+
message: This admin does not have Inbox access permissions
23816+
schema:
23817+
"$ref": "#/components/schemas/error"
23818+
'422':
23819+
description: Unprocessable Entity
23820+
content:
23821+
application/json:
23822+
examples:
23823+
Unrecognised priority level:
23824+
value:
23825+
type: error.list
23826+
request_id: 3f6c9b21-7d58-4e0a-8b44-5a9e2c1d7b03
23827+
errors:
23828+
- code: parameter_invalid
23829+
message: 'priority must be one of: none, low, medium, high, urgent'
23830+
schema:
23831+
"$ref": "#/components/schemas/error"
2380423832
requestBody:
2380523833
content:
2380623834
application/json:
@@ -23824,6 +23852,7 @@ paths:
2382423852
open: true
2382523853
snoozed_until: 1673609604
2382623854
ticket_state_id: 8498
23855+
priority: high
2382723856
admin_not_found:
2382823857
summary: Admin not found
2382923858
value:
@@ -41297,6 +41326,18 @@ components:
4129741326
description: The ID of the admin or team to which the ticket is assigned.
4129841327
Set this 0 to unassign it.
4129941328
example: '123'
41329+
priority:
41330+
type: string
41331+
enum:
41332+
- none
41333+
- low
41334+
- medium
41335+
- high
41336+
- urgent
41337+
description: The priority level to set on the ticket. Accepts one of none,
41338+
low, medium, high, or urgent. Set none to clear an existing priority. The
41339+
change is attributed to admin_id, or to Operator when admin_id is omitted.
41340+
example: high
4130041341
update_ticket_type_attribute_request:
4130141342
description: You can update a Ticket Type Attribute
4130241343
type: object

0 commit comments

Comments
 (0)