From 489fc65513666d741ed97c14edfec8f68a32cb10 Mon Sep 17 00:00:00 2001 From: junaid-zaidi-intercom Date: Tue, 1 Dec 2026 17:51:44 +0000 Subject: [PATCH 1/3] Document multi-select attributes as label arrays in the Preview spec Co-Authored-By: Claude Opus 5.5 --- descriptions/0/api.intercom.io.yaml | 67 +++++++++++++++++++++++++---- 1 file changed, 58 insertions(+), 9 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 7c81c197..53259c40 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -47045,7 +47045,8 @@ components: value: description: The value of the attribute. Rich-text values are returned as plain text, with line breaks inside a paragraph rendered as newlines - (`\n`). + (`\n`). A multi-select attribute's value is an array of its + selected option labels, with `type` set to `multiselect`. anyOf: - type: string nullable: true @@ -47055,6 +47056,9 @@ components: items: type: integer - "$ref": "#/components/schemas/file_attribute" + - type: array + items: + type: string type: type: string description: The data type of the attribute. @@ -50409,7 +50413,9 @@ components: instance models. System-defined attributes such as "AI Topic and Subtopic", "CX Score rating", "CX Score explanation" and "CX Score reasons" may also be included. Rich-text values are returned as plain text, with line breaks inside - a paragraph rendered as newlines (`\n`). + a paragraph rendered as newlines (`\n`). A single-select list attribute is + returned as its option label, and a multi-select attribute as an array of its + selected option labels (`[]` when none are selected). properties: "AI Topic and Subtopic": type: array @@ -50444,12 +50450,18 @@ components: - type: boolean - $ref: "#/components/schemas/datetime" - "$ref": "#/components/schemas/custom_object_instance_list" + - type: array + items: + type: string example: paid_subscriber: true monthly_spend: 155.5 team_mates: 9 start_date_iso8601: "2023-03-04T09:46:14Z" end_date_timestamp: 1677923174 + Products: + - Billing + - API CX Score rating: 4 CX Score explanation: The conversation was resolved quickly and the customer expressed satisfaction with the outcome. @@ -50466,7 +50478,11 @@ components: description: The custom attributes which are set on this object, as key-value pairs. For relationship attributes the value should be a list of custom object instance models. Only attributes a caller may set should be sent here — attributes - Intercom generates are returned in responses only. + Intercom generates are returned in responses only. For multi-select attributes + the value must be an array of option labels, which replaces the current + selection; `null` or `[]` clears it. Any other value, or an unknown label, + returns a `400` error. A multi-select attribute can have at most 50 options + selected. additionalProperties: anyOf: - type: string @@ -50475,6 +50491,9 @@ components: - type: boolean - $ref: "#/components/schemas/datetime" - "$ref": "#/components/schemas/custom_object_instance_list" + - type: array + items: + type: string example: paid_subscriber: true monthly_spend: 155.5 @@ -50816,11 +50835,12 @@ components: example: Created via API test data_type: type: string - description: "The data type of the attribute. Allowed types: string, integer, list, decimal, boolean, datetime, relationship, files." + description: "The data type of the attribute. Allowed types: string, integer, list, multiselect, decimal, boolean, datetime, relationship, files. Multi-select attributes are created in your workspace settings and can't be created or edited through the API." enum: - string - integer - list + - multiselect - decimal - boolean - datetime @@ -50895,6 +50915,21 @@ components: description: Predefined options for this attribute. Each option has a unique UUID used to identify it in the options management endpoints. items: "$ref": "#/components/schemas/conversation_attribute_option" + conversation_attribute_multiselect_type: + title: Conversation Attribute (Multi-select) + allOf: + - "$ref": "#/components/schemas/conversation_attribute_base" + - type: object + properties: + data_type: + type: string + enum: + - multiselect + options: + type: array + description: Predefined options for this attribute. A conversation's value for this attribute is an array of the selected options' labels. + items: + "$ref": "#/components/schemas/conversation_attribute_option" conversation_attribute_decimal_type: title: Conversation Attribute (Decimal) allOf: @@ -50971,6 +51006,7 @@ components: string: "#/components/schemas/conversation_attribute_string_type" integer: "#/components/schemas/conversation_attribute_integer_type" list: "#/components/schemas/conversation_attribute_list_type" + multiselect: "#/components/schemas/conversation_attribute_multiselect_type" decimal: "#/components/schemas/conversation_attribute_decimal_type" boolean: "#/components/schemas/conversation_attribute_boolean_type" datetime: "#/components/schemas/conversation_attribute_datetime_type" @@ -50980,6 +51016,7 @@ components: - "$ref": "#/components/schemas/conversation_attribute_string_type" - "$ref": "#/components/schemas/conversation_attribute_integer_type" - "$ref": "#/components/schemas/conversation_attribute_list_type" + - "$ref": "#/components/schemas/conversation_attribute_multiselect_type" - "$ref": "#/components/schemas/conversation_attribute_decimal_type" - "$ref": "#/components/schemas/conversation_attribute_boolean_type" - "$ref": "#/components/schemas/conversation_attribute_datetime_type" @@ -57950,7 +57987,9 @@ components: ticket as key-value pairs. For the default title and description attributes, the keys are `_default_title_` and `_default_description_`. Rich-text values, such as `_default_description_`, are returned as plain text, with line breaks - inside a paragraph rendered as newlines (`\n`). + inside a paragraph rendered as newlines (`\n`). A single-select list attribute + is returned as its option label, and a multi-select attribute as an array of its + selected option labels (`[]` when none are selected). additionalProperties: anyOf: - type: string @@ -57961,9 +58000,15 @@ components: items: "$ref": "#/components/schemas/file_attribute" - "$ref": "#/components/schemas/file_attribute" + - type: array + items: + type: string example: _default_title_: Found a bug _default_description_: The button's not working + Affected areas: + - Billing + - API ticket_list: title: Ticket List type: object @@ -58329,7 +58374,10 @@ components: HTML markup sent in a string attribute's value is stripped to its text before the ticket is stored. For a `files` attribute, pass an array of upload ids; for a `relationship` attribute, pass an array of related object - ids as strings. + ids as strings. For a `multiselect` attribute, pass an array of option + labels, which replaces the current selection; `null` or `[]` clears it. Any + other value, or an unknown label, returns a `400` error. A multi-select + attribute can have at most 50 options selected. additionalProperties: anyOf: - type: string @@ -58596,12 +58644,13 @@ components: data_type: type: string description: 'The type of the data attribute (allowed values: "string list - integer decimal boolean datetime files")' + multiselect integer decimal boolean datetime files"). Multi-select attributes + are created in your workspace settings and can''t be created through the API.' example: string input_options: type: object nullable: true - description: Input options for the attribute. For a string attribute this holds `multiline` when it was set; for a list attribute it holds the list's options. When the attribute has no input options, this is `null`, or left out of the create and update ticket type attribute responses. + description: Input options for the attribute. For a string attribute this holds `multiline` when it was set; for a list or multi-select attribute it holds the list's options. When the attribute has no input options, this is `null`, or left out of the create and update ticket type attribute responses. example: multiline: true order: @@ -59530,7 +59579,7 @@ components: list_items: type: string description: A comma delimited list of items for the attribute value (only - applicable to list attributes) + applicable to list and multi-select attributes) example: Low Priority,Medium Priority,High Priority allow_multiple_values: type: boolean From 509c50daed67cef3d25f4c62311bf58a4f87d8e0 Mon Sep 17 00:00:00 2001 From: junaid-zaidi-intercom Date: Tue, 1 Dec 2026 17:54:20 +0000 Subject: [PATCH 2/3] Drop the multi-select pick limit from the Preview spec Co-Authored-By: Claude Opus 5.5 --- descriptions/0/api.intercom.io.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 53259c40..966714f0 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -50481,8 +50481,7 @@ components: Intercom generates are returned in responses only. For multi-select attributes the value must be an array of option labels, which replaces the current selection; `null` or `[]` clears it. Any other value, or an unknown label, - returns a `400` error. A multi-select attribute can have at most 50 options - selected. + returns a `400` error. additionalProperties: anyOf: - type: string @@ -58376,8 +58375,7 @@ components: ids; for a `relationship` attribute, pass an array of related object ids as strings. For a `multiselect` attribute, pass an array of option labels, which replaces the current selection; `null` or `[]` clears it. Any - other value, or an unknown label, returns a `400` error. A multi-select - attribute can have at most 50 options selected. + other value, or an unknown label, returns a `400` error. additionalProperties: anyOf: - type: string From 0cc464b45638e5ac4225f5b735516eca9098a0bc Mon Sep 17 00:00:00 2001 From: junaid-zaidi-intercom Date: Tue, 1 Dec 2026 18:45:47 +0000 Subject: [PATCH 3/3] Describe empty multi-select reads and duplicate labels in the Preview spec Co-Authored-By: Claude Opus 5.5 --- descriptions/0/api.intercom.io.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 966714f0..28cac568 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -50415,7 +50415,7 @@ components: included. Rich-text values are returned as plain text, with line breaks inside a paragraph rendered as newlines (`\n`). A single-select list attribute is returned as its option label, and a multi-select attribute as an array of its - selected option labels (`[]` when none are selected). + selected option labels. A multi-select attribute with no selection is left out. properties: "AI Topic and Subtopic": type: array @@ -50480,8 +50480,10 @@ components: instance models. Only attributes a caller may set should be sent here — attributes Intercom generates are returned in responses only. For multi-select attributes the value must be an array of option labels, which replaces the current - selection; `null` or `[]` clears it. Any other value, or an unknown label, - returns a `400` error. + selection; `null` or `[]` clears it. Duplicate labels are saved once, so + `["Billing", "Billing"]` saves as `["Billing"]`. Any other value returns a `400` + error, and an unknown label returns a `400` error with the message `Incompatible + value for attribute '' of type 'multiselect'`. additionalProperties: anyOf: - type: string @@ -58374,8 +58376,10 @@ components: the ticket is stored. For a `files` attribute, pass an array of upload ids; for a `relationship` attribute, pass an array of related object ids as strings. For a `multiselect` attribute, pass an array of option - labels, which replaces the current selection; `null` or `[]` clears it. Any - other value, or an unknown label, returns a `400` error. + labels, which replaces the current selection; `null` or `[]` clears it. Duplicate + labels are saved once. Any other value returns a `400` error, and an unknown + label returns a `400` error with the message `Incompatible value for attribute + '' of type 'multiselect'`. additionalProperties: anyOf: - type: string