@@ -8887,8 +8887,20 @@ paths:
88878887 type: admin
88888888 id: '991267816'
88898889 to:
8890- type: user
8891- id: 6762f2391bb69f9f2193bc19
8890+ - type: user
8891+ id: 6762f2391bb69f9f2193bc19
8892+ - type: lead
8893+ id: 6762f23c1bb69f9f2193bc1b
8894+ - type: user
8895+ id: 6762f23d1bb69f9f2193bc1c
8896+ cc:
8897+ - type: user
8898+ id: 6762f23e1bb69f9f2193bc1d
8899+ - type: user
8900+ id: 6762f23f1bb69f9f2193bc1e
8901+ bcc:
8902+ - type: user
8903+ id: 6762f23e1bb69f9f2193bc2f
88928904 message_type: conversation
88938905 body: heyy
88948906 admin_sms_message_created:
@@ -13936,7 +13948,7 @@ components:
1393613948 updated_at:
1393713949 type: integer
1393813950 description: "The Unix timestamp when the status reason was last updated"
13939- example: 1734537243
13951+ example: 1734537243
1394013952 close_conversation_request:
1394113953 title: Close Conversation Request
1394213954 type: object
@@ -16271,24 +16283,37 @@ components:
1627116283 - type
1627216284 - id
1627316285 to:
16274- type: object
16275- description: The sender of the message. If not provided, the default sender
16276- will be used.
16277- properties:
16278- type:
16279- type: string
16280- description: The role associated to the contact - `user` or `lead`.
16281- enum:
16282- - user
16283- - lead
16284- example: user
16285- id:
16286- type: string
16287- description: The identifier for the contact which is given by Intercom.
16288- example: 536e564f316c83104c000020
16289- required:
16290- - type
16291- - id
16286+ oneOf:
16287+ - $ref: '#/components/schemas/recipient'
16288+ - type: array
16289+ description: The recipients of the message.
16290+ items:
16291+ $ref: '#/components/schemas/recipient'
16292+ example:
16293+ - type: user
16294+ id: 536e564f316c83104c000020
16295+ - type: lead
16296+ id: 536e564f316c83104c000021
16297+ cc:
16298+ oneOf:
16299+ - $ref: '#/components/schemas/recipient'
16300+ - type: array
16301+ description: The CC recipients of the message.
16302+ items:
16303+ $ref: '#/components/schemas/recipient'
16304+ example:
16305+ - type: user
16306+ id: 536e564f316c83104c000023
16307+ bcc:
16308+ oneOf:
16309+ - $ref: '#/components/schemas/recipient'
16310+ - type: array
16311+ description: The BCC recipients of the message.
16312+ items:
16313+ $ref: '#/components/schemas/recipient'
16314+ example:
16315+ - type: user
16316+ id: 536e564f316c83104c000022
1629216317 created_at:
1629316318 type: integer
1629416319 description: The time the message was created. If not provided, the current
@@ -16321,6 +16346,25 @@ components:
1632116346 - body
1632216347 - from
1632316348 - to
16349+ recipient:
16350+ type: object
16351+ title: Recipient
16352+ description: A recipient of a message
16353+ properties:
16354+ type:
16355+ type: string
16356+ description: The role associated to the contact - `user` or `lead`.
16357+ enum:
16358+ - user
16359+ - lead
16360+ example: user
16361+ id:
16362+ type: string
16363+ description: The identifier for the contact which is given by Intercom.
16364+ example: 536e564f316c83104c000020
16365+ required:
16366+ - type
16367+ - id
1632416368 create_or_update_company_request:
1632516369 type: object
1632616370 title: Create Or Update Company Request Payload
0 commit comments