Send a text with the Telnyx API. Specifically to the "https://api.telnyx.com/v2/messages" endpoint
Note that using tl_send_messaging_profile is the preferred way of sending multiple SMS as it is more feature rich.
See here for more details.
1 | tl_send_text(to, from, message, key, params = NULL)
|
to |
number to send the text to |
from |
number to send the text from |
message |
character string of the text |
key |
Telnyx API key |
params |
optional further params to pass into the API call. Should be a named list. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.