From 5d3ad7c80701ee125805df14de62cbf563ca2369 Mon Sep 17 00:00:00 2001 From: Steve Henry Date: Wed, 24 Jun 2026 16:40:33 +0100 Subject: [PATCH 1/2] Add audience_ids to Content Import Source in v2.15 Adds the audience_ids field to the Content Import Source schema, create and update request payloads, and response examples, plus the apply_audience_to_existing_content field on update requests. Previously available only in the Preview spec. Co-Authored-By: Claude Opus 4.8 (1M context) --- descriptions/2.15/api.intercom.io.yaml | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/descriptions/2.15/api.intercom.io.yaml b/descriptions/2.15/api.intercom.io.yaml index 1db4fa4..0c02bf4 100644 --- a/descriptions/2.15/api.intercom.io.yaml +++ b/descriptions/2.15/api.intercom.io.yaml @@ -421,6 +421,7 @@ paths: sync_behavior: automatic created_at: 1734537259 updated_at: 1734537259 + audience_ids: [] - id: 34 type: content_import_source last_synced_at: 1734537259 @@ -429,6 +430,7 @@ paths: sync_behavior: automatic created_at: 1734537259 updated_at: 1734537259 + audience_ids: [] - id: 35 type: content_import_source last_synced_at: 1734537259 @@ -437,6 +439,7 @@ paths: sync_behavior: automatic created_at: 1734537259 updated_at: 1734537259 + audience_ids: [] pages: type: pages page: 1 @@ -488,6 +491,7 @@ paths: sync_behavior: api created_at: 1734537261 updated_at: 1734537261 + audience_ids: [] schema: "$ref": "#/components/schemas/content_import_source" '401': @@ -580,6 +584,7 @@ paths: sync_behavior: api created_at: 1734537265 updated_at: 1734537265 + audience_ids: [] schema: "$ref": "#/components/schemas/content_import_source" '401': @@ -623,6 +628,7 @@ paths: sync_behavior: api created_at: 1734537267 updated_at: 1734537267 + audience_ids: [] schema: "$ref": "#/components/schemas/content_import_source" '401': @@ -17621,6 +17627,13 @@ components: format: date-time description: The time when the content import source was last updated. example: 1672928610 + audience_ids: + type: array + items: + type: integer + description: The unique identifiers for the audiences associated with this content import source. + example: + - 5678 required: - id - type @@ -18732,6 +18745,16 @@ components: type: string description: The URL of the content import source. example: https://help.example.com + audience_ids: + nullable: true + description: The unique identifiers for the audiences to associate with this content import source. Can be a single integer or an array of integers. + example: + - 5678 + oneOf: + - type: integer + - type: array + items: + type: integer required: - sync_behavior - url @@ -23552,6 +23575,21 @@ components: description: The URL of the content import source. This may only be different from the existing value if the sync behavior is API. example: https://help.example.com + audience_ids: + nullable: true + description: The unique identifiers for the audiences to associate with this content import source. Can be a single integer or an array of integers. Set to null or an empty array to remove all audiences. + example: + - 5678 + oneOf: + - type: integer + - type: array + items: + type: integer + apply_audience_to_existing_content: + type: boolean + description: When true, the audience will be applied to all existing external pages belonging to this content import source. + default: false + example: false required: - sync_behavior - url From e57ec97389a7739a9e2496d0b9cf7a2033fb74a3 Mon Sep 17 00:00:00 2001 From: Steve Henry Date: Thu, 25 Jun 2026 13:43:30 +0100 Subject: [PATCH 2/2] Mark audience_ids as nullable on Content Import Source response The response schema now declares nullable: true on audience_ids to match the documented nullable behavior. Co-Authored-By: Claude Opus 4.8 (1M context) --- descriptions/2.15/api.intercom.io.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/descriptions/2.15/api.intercom.io.yaml b/descriptions/2.15/api.intercom.io.yaml index 0c02bf4..3fca175 100644 --- a/descriptions/2.15/api.intercom.io.yaml +++ b/descriptions/2.15/api.intercom.io.yaml @@ -17629,6 +17629,7 @@ components: example: 1672928610 audience_ids: type: array + nullable: true items: type: integer description: The unique identifiers for the audiences associated with this content import source.