Skip to content
Draft
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
69 changes: 60 additions & 9 deletions descriptions/0/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -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. A multi-select attribute with no selection is left out.
properties:
"AI Topic and Subtopic":
type: array
Expand Down Expand Up @@ -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.
Expand All @@ -50466,7 +50478,12 @@ 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. 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 '<name>' of type 'multiselect'`.
additionalProperties:
anyOf:
- type: string
Expand All @@ -50475,6 +50492,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
Expand Down Expand Up @@ -50816,11 +50836,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
Expand Down Expand Up @@ -50895,6 +50916,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:
Expand Down Expand Up @@ -50971,6 +51007,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"
Expand All @@ -50980,6 +51017,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"
Expand Down Expand Up @@ -57950,7 +57988,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
Expand All @@ -57961,9 +58001,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
Expand Down Expand Up @@ -58329,7 +58375,11 @@ 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. 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
'<name>' of type 'multiselect'`.
additionalProperties:
anyOf:
- type: string
Expand Down Expand Up @@ -58596,12 +58646,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:
Expand Down Expand Up @@ -59530,7 +59581,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
Expand Down