@@ -9223,7 +9223,7 @@ paths:
92239223 - Messages
92249224 operationId: createMessage
92259225 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 or an email.\n\n> \U0001F6A7
92279227 Sending for visitors\n>\n> There can be a short delay between when a contact
92289228 is created and when a contact becomes available to be messaged through the
92299229 API. A 404 Not Found error will be returned in this case.\n\nThis will return
@@ -9289,13 +9289,6 @@ paths:
92899289 errors:
92909290 - code: parameter_invalid
92919291 message: Body is required
9292- Invalid body supplied for sms message:
9293- value:
9294- type: error.list
9295- request_id: d7997515-65af-4860-9bf5-777852f8b24f
9296- errors:
9297- - code: parameter_invalid
9298- message: Invalid SMS message body
92999292 schema:
93009293 "$ref": "#/components/schemas/error"
93019294 '422':
@@ -9385,17 +9378,6 @@ paths:
93859378 id: 6762f23e1bb69f9f2193bc2f
93869379 message_type: conversation
93879380 body: heyy
9388- admin_sms_message_created:
9389- summary: admin sms message created
9390- value:
9391- from:
9392- type: admin
9393- id: '991267817'
9394- to:
9395- type: user
9396- id: 6762f23a1bb69f9f2193bc1a
9397- message_type: sms
9398- body: heyy
93999381 no_body_supplied_for_message:
94009382 summary: No body supplied for message
94019383 value:
@@ -9431,17 +9413,6 @@ paths:
94319413 message_type: email
94329414 body:
94339415 subject: heyy
9434- invalid_body_supplied_for_sms_message:
9435- summary: Invalid body supplied for sms message
9436- value:
9437- from:
9438- type: admin
9439- id: '991267821'
9440- to:
9441- type: user
9442- id: 6762f23b1bb69f9f2193bc1d
9443- message_type: sms
9444- body: heyy https://picsum.photos/200/300
94459416 "/messages/status":
94469417 get:
94479418 summary: Get statuses of all messages sent based on the specified ruleset_id
@@ -17228,11 +17199,10 @@ components:
1722817199 properties:
1722917200 message_type:
1723017201 type: string
17231- description: 'The kind of message being created. Values: `in_app`, `email`, `sms `.'
17202+ description: 'The kind of message being created. Values: `in_app` or `email `.'
1723217203 enum:
1723317204 - in_app
1723417205 - email
17235- - sms
1723617206 example: in_app
1723717207 subject:
1723817208 type: string
@@ -17323,12 +17293,6 @@ components:
1732317293 - body
1732417294 - from
1732517295 - to
17326- - title: 'message_type: `sms`.'
17327- required:
17328- - message_type
17329- - body
17330- - from
17331- - to
1733217296 recipient:
1733317297 type: object
1733417298 title: Recipient
@@ -19169,9 +19133,8 @@ components:
1916919133 - inapp
1917019134 - facebook
1917119135 - twitter
19172- - sms
19173- description: The type of message that was sent. Can be email, inapp, facebook,
19174- twitter or sms.
19136+ description: The type of message that was sent. Can be email, inapp, facebook
19137+ or twitter.
1917519138 example: inapp
1917619139 conversation_id:
1917719140 type: string
0 commit comments