From 0c9a7ca73d6badccd51ee18e38e04edf93f2d216 Mon Sep 17 00:00:00 2001 From: Laszlo Bogacsi Date: Thu, 17 Sep 2026 16:58:36 +0100 Subject: [PATCH] Correct the Intercom-Version value advertised for the Preview version The shared Preview header schema set its example, default and only enum value to `preview`, and the granted companies descriptions repeated it in prose. The version lookup matches the id exactly, so a lowercase value is rejected with a 400. The sibling `intercom_version` schema already uses the capitalised form. Co-Authored-By: Claude Opus 5 (1M context) --- descriptions/0/api.intercom.io.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index cadf5e7a..4f816c2b 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -7104,7 +7104,7 @@ paths: Returns an empty list when granted companies are not enabled for the workspace. - Requires the `read_users_companies` OAuth scope. Set `Intercom-Version: preview`. + Requires the `read_users_companies` OAuth scope. Set `Intercom-Version: Preview`. responses: '200': description: Successful @@ -7186,7 +7186,7 @@ paths: This endpoint returns `404` with the code `granted_companies_not_enabled` unless granted companies are enabled for the workspace. Contact Intercom Support to enable it. {% /admonition %} - Requires the `write_users_companies` OAuth scope. Set `Intercom-Version: preview`. + Requires the `write_users_companies` OAuth scope. Set `Intercom-Version: Preview`. requestBody: required: true content: @@ -7346,7 +7346,7 @@ paths: This endpoint returns `404` with the code `granted_companies_not_enabled` unless granted companies are enabled for the workspace. Contact Intercom Support to enable it. {% /admonition %} - Requires the `write_users_companies` OAuth scope. Set `Intercom-Version: preview`. + Requires the `write_users_companies` OAuth scope. Set `Intercom-Version: Preview`. responses: '204': description: The grant was removed. No content is returned. @@ -39396,10 +39396,10 @@ components: intercom_version_preview: description: Preview Intercom API version. Used for closed beta endpoints or other features under managed availability. type: string - example: preview - default: preview + example: Preview + default: Preview enum: - - preview + - Preview linked_object_list: title: Linked Objects type: object