Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 2 additions & 144 deletions descriptions/0/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2682,20 +2682,6 @@ paths:
"$ref": "#/components/schemas/office_hours_schedule_list"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
post:
summary: Create an office hours schedule
parameters:
Expand Down Expand Up @@ -2744,20 +2730,6 @@ paths:
"$ref": "#/components/schemas/office_hours_schedule"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'422':
"$ref": "#/components/responses/ValidationError"
"/office_hours_schedules/{id}":
Expand Down Expand Up @@ -2802,20 +2774,6 @@ paths:
"$ref": "#/components/schemas/office_hours_schedule"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
put:
Expand Down Expand Up @@ -2871,20 +2829,6 @@ paths:
"$ref": "#/components/schemas/office_hours_schedule"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
'422':
Expand Down Expand Up @@ -2932,20 +2876,6 @@ paths:
example: true
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
"/office_hours_schedules/{office_hours_schedule_id}/office_hours_exceptions":
Expand Down Expand Up @@ -3004,20 +2934,6 @@ paths:
"$ref": "#/components/schemas/office_hours_exception_list"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
post:
Expand Down Expand Up @@ -3075,20 +2991,6 @@ paths:
"$ref": "#/components/schemas/office_hours_exception"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
'422':
Expand Down Expand Up @@ -3141,20 +3043,6 @@ paths:
"$ref": "#/components/schemas/office_hours_exception"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
put:
Expand Down Expand Up @@ -3221,20 +3109,6 @@ paths:
"$ref": "#/components/schemas/office_hours_exception"
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
'422':
Expand Down Expand Up @@ -3289,20 +3163,6 @@ paths:
example: true
'401':
"$ref": "#/components/responses/Unauthorized"
'403':
description: API plan restricted
content:
application/json:
examples:
API plan restricted:
value:
type: error.list
request_id: 591a0c2f-78b3-41bb-bfa7-f1fae15107b9
errors:
- code: api_plan_restricted
message: Office Hours API feature not enabled for this workspace
schema:
"$ref": "#/components/schemas/error"
'404':
"$ref": "#/components/responses/ObjectNotFound"
"/export/reporting_data/enqueue":
Expand Down Expand Up @@ -37350,10 +37210,8 @@ tags:
description: Everything about your Notes
- name: Office Hours
description: |
Manage office hours schedules and their exceptions. These endpoints are part of
the `Preview` API version and require an OAuth token with the `read_write_office_hours`
scope. The API is in limited availability — the scope becomes available once the
feature is enabled for your workspace; until then requests return `403 api_plan_restricted`.
Manage office hours schedules and their exceptions. These endpoints require an
OAuth token with the `read_write_office_hours` scope.
- name: Procedures
description: |
Submit human-collected input to Fin Procedures via the HITL (Human in the Loop) API.
Expand Down