@@ -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 email or 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
@@ -18717,8 +18743,9 @@ components:
18717
18743
- facebook
18718
18744
- twitter
18719
18745
- sms
18720
- description: The type of message that was sent. Can be email, inapp, facebook
18721
- ,twitter or sms.
18746
+ - whatsapp
18747
+ description: The type of message that was sent. Can be email, inapp, facebook,
18748
+ twitter, sms or whatsapp.
18722
18749
example: inapp
18723
18750
conversation_id:
18724
18751
type: string
0 commit comments