To Send an SMS Message

Sends an SMS message using the Twilio API.

This procedure is part of the Twilio Book (BDK). To use this book, you must first learn it in your agent.

Input Concepts

Concept
Description
Type
Required

sender number

The Twilio phone number to send the message from

text

Yes

recipient number

The recipient's phone number

text

Yes

message body

The body of the SMS message to send

text

Yes

Output Concepts

Concept
Description
Type

answer

The SID of the sent message if successful, otherwise None.

text

Examples

Send an SMS message

send an SMS message where
  the sender number is "+18004445555"
  the recipient number is "+18004446666"
  the message body is "Hello from Kognitos!"

Last updated

Was this helpful?