Skip to content

Commit bd19658

Browse files
Adding to, cc and bcc to docs
1 parent 0fe79f5 commit bd19658

File tree

1 file changed

+59
-20
lines changed

1 file changed

+59
-20
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 59 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8887,8 +8887,17 @@ 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
88928901
message_type: conversation
88938902
body: heyy
88948903
admin_sms_message_created:
@@ -16271,24 +16280,35 @@ components:
1627116280
- type
1627216281
- id
1627316282
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
16283+
oneOf:
16284+
- $ref: '#/components/schemas/recipient'
16285+
- type: array
16286+
description: The recipients of the message.
16287+
items:
16288+
$ref: '#/components/schemas/recipient'
16289+
example:
16290+
- type: user
16291+
id: 536e564f316c83104c000020
16292+
- type: lead
16293+
id: 536e564f316c83104c000021
16294+
cc:
16295+
oneOf:
16296+
- $ref: '#/components/schemas/recipient'
16297+
- type: array
16298+
description: The CC recipients of the message.
16299+
items:
16300+
$ref: '#/components/schemas/recipient'
16301+
example:
16302+
- type: user
16303+
id: 536e564f316c83104c000023
16304+
bcc:
16305+
type: array
16306+
description: The BCC recipients of the message.
16307+
items:
16308+
$ref: '#/components/schemas/recipient'
16309+
example:
16310+
- type: user
16311+
id: 536e564f316c83104c000022
1629216312
created_at:
1629316313
type: integer
1629416314
description: The time the message was created. If not provided, the current
@@ -16321,6 +16341,25 @@ components:
1632116341
- body
1632216342
- from
1632316343
- to
16344+
recipient:
16345+
type: object
16346+
title: Recipient
16347+
description: A recipient of a message
16348+
properties:
16349+
type:
16350+
type: string
16351+
description: The role associated to the contact - `user` or `lead`.
16352+
enum:
16353+
- user
16354+
- lead
16355+
example: user
16356+
id:
16357+
type: string
16358+
description: The identifier for the contact which is given by Intercom.
16359+
example: 536e564f316c83104c000020
16360+
required:
16361+
- type
16362+
- id
1632416363
create_or_update_company_request:
1632516364
type: object
1632616365
title: Create Or Update Company Request Payload

0 commit comments

Comments
 (0)