@@ -11647,6 +11647,15 @@ paths:
1164711647 type: user
1164811648components:
1164911649 schemas:
11650+ datetime:
11651+ oneOf:
11652+ - title: string
11653+ type: string
11654+ format: date-time
11655+ description: A date and time following the ISO8601 notation.
11656+ - title: integer
11657+ type: integer
11658+ description: A date and time as UNIX timestamp notation.
1165011659 activity_log:
1165111660 title: Activity Log
1165211661 type: object
@@ -14556,6 +14565,92 @@ components:
1455614565 (wrote at least one conversation part).
1455714566 items:
1455814567 "$ref": "#/components/schemas/reference"
14568+ custom_attributes:
14569+ title: Custom Attributes
14570+ type: object
14571+ description: An object containing the different custom attributes associated
14572+ to the conversation as key-value pairs. For relationship attributes the value
14573+ will be a list of custom object instance models.
14574+ additionalProperties:
14575+ anyOf:
14576+ - type: string
14577+ - type: integer
14578+ - $ref: "#/components/schemas/datetime"
14579+ - "$ref": "#/components/schemas/custom_object_instance_list"
14580+ example:
14581+ paid_subscriber: true
14582+ monthly_spend: 155.5
14583+ team_mates: 9
14584+ start_date_iso8601: "2023-03-04T09:46:14Z"
14585+ end_date_timestamp: 1677923174
14586+ custom_object_instance_list:
14587+ title: Custom Object Instances
14588+ type: object
14589+ description: The list of associated custom object instances for a given reference
14590+ attribute on the parent object.
14591+ properties:
14592+ type:
14593+ type: string
14594+ example: order.list
14595+ instances:
14596+ type: array
14597+ description: The list of associated custom object instances for a given
14598+ reference attribute on the parent object.
14599+ items:
14600+ "$ref": "#/components/schemas/custom_object_instance"
14601+ custom_object_instance:
14602+ title: Custom Object Instance
14603+ type: object
14604+ x-tags:
14605+ - Custom Object Instances
14606+ nullable: true
14607+ description: A Custom Object Instance represents an instance of a custom object
14608+ type. This allows you to create and set custom attributes to store data about
14609+ your customers that is not already captured by Intercom. The parent object
14610+ includes recommended default attributes and you can add your own custom attributes.
14611+ properties:
14612+ id:
14613+ type: string
14614+ description: The Intercom defined id representing the custom object instance.
14615+ example: 16032025
14616+ external_id:
14617+ type: string
14618+ description: The id you have defined for the custom object instance.
14619+ example: 0001d1c1e65a7a19e9f59ae2
14620+ external_created_at:
14621+ type: integer
14622+ format: date-time
14623+ nullable: true
14624+ description: The time when the Custom Object instance was created in the
14625+ external system it originated from.
14626+ example: 1571672154
14627+ external_updated_at:
14628+ type: integer
14629+ format: date-time
14630+ nullable: true
14631+ description: The time when the Custom Object instance was last updated in
14632+ the external system it originated from.
14633+ example: 1571672154
14634+ created_at:
14635+ type: integer
14636+ format: date-time
14637+ description: The time the attribute was created as a UTC Unix timestamp
14638+ example: 1671028894
14639+ updated_at:
14640+ type: integer
14641+ format: date-time
14642+ description: The time the attribute was last updated as a UTC Unix timestamp
14643+ example: 1671028894
14644+ type:
14645+ type: string
14646+ description: The identifier of the custom object type that defines the structure
14647+ of the custom object instance.
14648+ example: Order
14649+ custom_attributes:
14650+ type: object
14651+ description: The custom attributes you have set on the custom object instance.
14652+ additionalProperties:
14653+ type: string
1455914654 convert_conversation_to_ticket_request:
1456014655 description: You can convert a Conversation to a Ticket
1456114656 type: object
0 commit comments