@@ -8887,8 +8887,20 @@ paths:
8887
8887
type: admin
8888
8888
id: '991267816'
8889
8889
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
8892
8904
message_type: conversation
8893
8905
body: heyy
8894
8906
admin_sms_message_created:
@@ -13936,7 +13948,7 @@ components:
13936
13948
updated_at:
13937
13949
type: integer
13938
13950
description: "The Unix timestamp when the status reason was last updated"
13939
- example: 1734537243
13951
+ example: 1734537243
13940
13952
close_conversation_request:
13941
13953
title: Close Conversation Request
13942
13954
type: object
@@ -16271,24 +16283,37 @@ components:
16271
16283
- type
16272
16284
- id
16273
16285
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
16292
16317
created_at:
16293
16318
type: integer
16294
16319
description: The time the message was created. If not provided, the current
@@ -16321,6 +16346,25 @@ components:
16321
16346
- body
16322
16347
- from
16323
16348
- 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
16324
16368
create_or_update_company_request:
16325
16369
type: object
16326
16370
title: Create Or Update Company Request Payload
0 commit comments