You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: descriptions/0/api.intercom.io.yaml
+33-8Lines changed: 33 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9223,7 +9223,7 @@ paths:
9223
9223
- Messages
9224
9224
operationId: createMessage
9225
9225
description: "You can create a message that has been initiated by an admin.
9226
-
The conversation can be either an in-app message, an emailor sms.\n\n> \U0001F6A7
9226
+
The conversation can be either an in-app message, an email, sms or whatsapp.\n\n> \U0001F6A7
9227
9227
Sending for visitors\n>\n> There can be a short delay between when a contact
9228
9228
is created and when a contact becomes available to be messaged through the
9229
9229
API. A 404 Not Found error will be returned in this case.\n\nThis will return
@@ -9396,6 +9396,23 @@ paths:
9396
9396
id: 6762f23a1bb69f9f2193bc1a
9397
9397
message_type: sms
9398
9398
body: heyy
9399
+
admin_whatsapp_message_created:
9400
+
summary: admin whatsapp message created
9401
+
value:
9402
+
from:
9403
+
type: admin
9404
+
id: '991267817'
9405
+
to:
9406
+
phone: +5547999998888
9407
+
name: John Doe
9408
+
message_type: whatsapp
9409
+
components:
9410
+
- type: BODY
9411
+
parameters:
9412
+
- type: text
9413
+
text: Username 123
9414
+
template: keep_live
9415
+
locale: en
9399
9416
no_body_supplied_for_message:
9400
9417
summary: No body supplied for message
9401
9418
value:
@@ -16874,10 +16891,12 @@ components:
16874
16891
properties:
16875
16892
message_type:
16876
16893
type: string
16877
-
description: 'The kind of message being created. Values: `in_app`or `email`.'
16894
+
description: 'The kind of message being created. Values: `in_app`, `email`, `sms` or `whatsapp`.'
16878
16895
enum:
16879
16896
- in_app
16880
16897
- email
16898
+
- sms
16899
+
- whatsapp
16881
16900
example: in_app
16882
16901
subject:
16883
16902
type: string
@@ -16974,6 +16993,13 @@ components:
16974
16993
- body
16975
16994
- from
16976
16995
- to
16996
+
- title: 'message_type: `whatsapp`.'
16997
+
required:
16998
+
- message_type
16999
+
- template
17000
+
- components
17001
+
- from
17002
+
- to
16977
17003
recipient:
16978
17004
type: object
16979
17005
title: Recipient
@@ -18049,8 +18075,6 @@ components:
18049
18075
required:
18050
18076
- type
18051
18077
- external_id
18052
-
- name
18053
-
- email
18054
18078
properties:
18055
18079
type:
18056
18080
type: string
@@ -18061,11 +18085,11 @@ components:
18061
18085
description: External identifier for the contact. Intercom will take care of the mapping of your external_id with our internal ones so you don't have to worry about it.
18062
18086
name:
18063
18087
type: string
18064
-
description: Name of the contact.
18088
+
description: Name of the contact. Required for user type.
18065
18089
email:
18066
18090
type: string
18067
18091
format: email
18068
-
description: Email address of the contact.
18092
+
description: Email address of the contact. Required for user type.
18069
18093
custom_channel_notification_response:
18070
18094
type: object
18071
18095
required:
@@ -18719,8 +18743,9 @@ components:
18719
18743
- facebook
18720
18744
- twitter
18721
18745
- sms
18722
-
description: The type of message that was sent. Can be email, inapp, facebook
18723
-
,twitter or sms.
18746
+
- whatsapp
18747
+
description: The type of message that was sent. Can be email, inapp, facebook,
0 commit comments