Skip to content

Commit e4e617b

Browse files
Add from_number param to messages/send-sms
1 parent fec5cc5 commit e4e617b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/transactional.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2835,6 +2835,7 @@
28352835
"properties": {
28362836
"sms": {
28372837
"type": "object",
2838+
"required": ["text", "to", "consent", "track_clicks"],
28382839
"properties": {
28392840
"text": {
28402841
"type": "string",
@@ -2852,6 +2853,10 @@
28522853
"track_clicks": {
28532854
"type": "boolean",
28542855
"description": "whether or not to turn on click tracking for the message"
2856+
},
2857+
"from_number": {
2858+
"type": "string",
2859+
"description": "optional phone number to send the SMS from. If not provided, uses the default SMS program's messaging number"
28552860
}
28562861
}
28572862
}

0 commit comments

Comments
 (0)