@@ -9606,7 +9606,7 @@ paths:
96069606 - Messages
96079607 operationId: createMessage
96089608 description: "You can create a message that has been initiated by an admin.
9609- The conversation can be either an in-app message, an email or sms .\n\n> \U0001F6A7
9609+ The conversation can be either an in-app message or an email.\n\n> \U0001F6A7
96109610 Sending for visitors\n>\n> There can be a short delay between when a contact
96119611 is created and when a contact becomes available to be messaged through the
96129612 API. A 404 Not Found error will be returned in this case.\n\nThis will return
@@ -9672,13 +9672,6 @@ paths:
96729672 errors:
96739673 - code: parameter_invalid
96749674 message: Body is required
9675- Invalid body supplied for sms message:
9676- value:
9677- type: error.list
9678- request_id: d7997515-65af-4860-9bf5-777852f8b24f
9679- errors:
9680- - code: parameter_invalid
9681- message: Invalid SMS message body
96829675 schema:
96839676 "$ref": "#/components/schemas/error"
96849677 '422':
@@ -9768,17 +9761,6 @@ paths:
97689761 id: 6762f23e1bb69f9f2193bc2f
97699762 message_type: conversation
97709763 body: heyy
9771- admin_sms_message_created:
9772- summary: admin sms message created
9773- value:
9774- from:
9775- type: admin
9776- id: '991267817'
9777- to:
9778- type: user
9779- id: 6762f23a1bb69f9f2193bc1a
9780- message_type: sms
9781- body: heyy
97829764 no_body_supplied_for_message:
97839765 summary: No body supplied for message
97849766 value:
@@ -9814,17 +9796,6 @@ paths:
98149796 message_type: email
98159797 body:
98169798 subject: heyy
9817- invalid_body_supplied_for_sms_message:
9818- summary: Invalid body supplied for sms message
9819- value:
9820- from:
9821- type: admin
9822- id: '991267821'
9823- to:
9824- type: user
9825- id: 6762f23b1bb69f9f2193bc1d
9826- message_type: sms
9827- body: heyy https://picsum.photos/200/300
98289799 "/messages/status":
98299800 get:
98309801 summary: Get statuses of all messages sent based on the specified ruleset_id
@@ -17782,11 +17753,10 @@ components:
1778217753 properties:
1778317754 message_type:
1778417755 type: string
17785- description: 'The kind of message being created. Values: `in_app`, `email`, `sms `.'
17756+ description: 'The kind of message being created. Values: `in_app` or `email `.'
1778617757 enum:
1778717758 - in_app
1778817759 - email
17789- - sms
1779017760 example: in_app
1779117761 subject:
1779217762 type: string
@@ -17877,12 +17847,6 @@ components:
1787717847 - body
1787817848 - from
1787917849 - to
17880- - title: 'message_type: `sms`.'
17881- required:
17882- - message_type
17883- - body
17884- - from
17885- - to
1788617850 recipient:
1788717851 type: object
1788817852 title: Recipient
@@ -19743,9 +19707,8 @@ components:
1974319707 - inapp
1974419708 - facebook
1974519709 - twitter
19746- - sms
19747- description: The type of message that was sent. Can be email, inapp, facebook,
19748- twitter or sms.
19710+ description: The type of message that was sent. Can be email, inapp, facebook
19711+ or twitter.
1974919712 example: inapp
1975019713 conversation_id:
1975119714 type: string
0 commit comments