You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add audience_type, audience_segment_ids, has_custom_predicates to the
data_connector_detail response schema. Add audience_segment_ids as a
writable field in create and update request schemas.
Companion to intercom/intercom#500264
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: descriptions/0/api.intercom.io.yaml
+36-3Lines changed: 36 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -23472,7 +23472,7 @@ components:
23472
23472
example: false
23473
23473
audiences:
23474
23474
type: array
23475
-
description: The user types this connector is available for.
23475
+
description: The user role types this connector is available for.
23476
23476
items:
23477
23477
type: string
23478
23478
enum:
@@ -23482,6 +23482,13 @@ components:
23482
23482
example:
23483
23483
- leads
23484
23484
- visitors
23485
+
audience_segment_ids:
23486
+
type: array
23487
+
description: IDs of Fin Audience segments to assign to this connector. Replaces any existing segments. Pass an empty array to clear all segments.
23488
+
items:
23489
+
type: string
23490
+
example:
23491
+
- '123'
23485
23492
headers:
23486
23493
type: array
23487
23494
description: HTTP headers to include in the request.
@@ -23598,7 +23605,7 @@ components:
23598
23605
example: false
23599
23606
audiences:
23600
23607
type: array
23601
-
description: The audience types this connector targets.
23608
+
description: The user role types this connector targets. Updating this preserves any existing custom predicate rules.
23602
23609
items:
23603
23610
type: string
23604
23611
enum:
@@ -23608,6 +23615,13 @@ components:
23608
23615
example:
23609
23616
- leads
23610
23617
- users
23618
+
audience_segment_ids:
23619
+
type: array
23620
+
description: IDs of Fin Audience segments to assign. This is a full replacement — the connector will have exactly these segments after the update. Pass an empty array to clear all segments.
23621
+
items:
23622
+
type: string
23623
+
example:
23624
+
- '456'
23611
23625
headers:
23612
23626
type: array
23613
23627
description: HTTP headers to include in the request.
@@ -23826,7 +23840,7 @@ components:
23826
23840
example: false
23827
23841
audiences:
23828
23842
type: array
23829
-
description: The audience types this connector targets.
23843
+
description: The user role types this connector targets.
23830
23844
items:
23831
23845
type: string
23832
23846
enum:
@@ -23836,6 +23850,25 @@ components:
23836
23850
example:
23837
23851
- users
23838
23852
- leads
23853
+
audience_type:
23854
+
type: string
23855
+
description: |
23856
+
The current audience targeting mode. `everyone` targets all users. `custom` means predicate-based rules are configured (edit in the UI). `fin_audience` means Fin Audience segments are assigned.
23857
+
enum:
23858
+
- everyone
23859
+
- custom
23860
+
- fin_audience
23861
+
example: everyone
23862
+
audience_segment_ids:
23863
+
type: array
23864
+
description: IDs of the Fin Audience segments assigned to this connector. Empty when `audience_type` is not `fin_audience`.
23865
+
items:
23866
+
type: string
23867
+
example: []
23868
+
has_custom_predicates:
23869
+
type: boolean
23870
+
description: Whether this connector has custom predicate-based audience rules. When `true`, the rules can only be viewed and edited in the Intercom UI.
0 commit comments