Skip to content

Commit 5fbe854

Browse files
Mark /messages/send-sms 'from' field as required.
1 parent 00bf082 commit 5fbe854

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spec/transactional.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2835,7 +2835,7 @@
28352835
"properties": {
28362836
"sms": {
28372837
"type": "object",
2838-
"required": ["text", "to", "consent", "track_clicks"],
2838+
"required": ["text", "to", "consent", "track_clicks", "from"],
28392839
"properties": {
28402840
"text": {
28412841
"type": "string",
@@ -2845,6 +2845,10 @@
28452845
"type": "string",
28462846
"description": "the phone number to send the SMS message to"
28472847
},
2848+
"from": {
2849+
"type": "string",
2850+
"description": "the phone number to send the SMS message from"
2851+
},
28482852
"consent": {
28492853
"type": "string",
28502854
"description": "The consent type for the message",

0 commit comments

Comments
 (0)