# SMS

![](/files/cXSaBLr3t1sbijrKZYPS)

## Function <a href="#function" id="function"></a>

This module enables you to send outbound SMS messages.

{% hint style="info" %}
**This module requires a Plum DEV account with SMS-enabled, non-PCI phone numbers.**

Don't have Plum DEV yet? [**Contact us**](https://www.plumvoice.com/contact-us/) to get set up!
{% endhint %}

## Input Fields <a href="#input-fields" id="input-fields"></a>

As shown in the following image, this module first displays fields for Plum DEV account authentication:

1. **Username**
2. **Password**

![](/files/N1gE1LlR4lwghlAyJdNp)

### Username & Password <a href="#username-and-password" id="username-and-password"></a>

Enter your Plum DEV account credentials in these fields, then select **Authenticate**. If authentication is successful, the module will display your username with a checkmark. As shown in the following image, additional fields will also be displayed:

1. **SMS Phone Number**: Select one of your SMS-enabled phone numbers.
2. **Recipient Phone Number**: Strings and/or variables are accepted.
3. **SMS Message**: Strings and/or variables are accepted.

![](/files/2hCx5I8xQcIV0Kjox0Ad)

### SMS Phone Number <a href="#sms-phone-number" id="sms-phone-number"></a>

Select the SMS-enabled number you will use to send your message(s). Phone numbers linked to your Plum DEV account will be listed for use.

{% hint style="warning" %}
**IMPORTANT!** **Your SMS-enabled number must be non-PCI.** SMS is unencrypted, which makes SMS messaging incompatible with PCI numbers and infrastructure.
{% endhint %}

### Recipient Phone Number <a href="#recipient-phone-number" id="recipient-phone-number"></a>

**Accepted values:** Strings, variables.

Enter one phone number that will receive your message.

**Format.** The phone number may be entered with or without formatting. See the following list for some examples:

* Formatted: `(222) 345-9789`
* Unformatted: `2223456789`

**Adding variables.** Any declared variables can be added to this field by selecting the plus sign (![](/files/lW2JzNGtVpAXd2LFCxxf)​), selecting a variable from the **Variable Name** dropdown box, and selecting **Add**. Note that this field will only accept one value for the recipient's phone number.

### SMS Message <a href="#sms-message" id="sms-message"></a>

**Accepted values:** Strings, variables.

Enter the message to be sent. You can enter one or multiple values.

**Adding variables.** Any declared variables can be added to this field by selecting the plus sign (![](/files/lW2JzNGtVpAXd2LFCxxf)​), selecting a variable from the **Variable Name** dropdown box, and selecting **Add**.

## Module Settings <a href="#module-settings" id="module-settings"></a>

<div align="left"><img src="/files/Je6xNGky61qusWsyV6Em" alt=""></div>

### [Hold Music](/fuse/module-settings.md#hold-music)

| ![](/files/OLaTQJU7WyYUirXNR3VX) | <p>Enable this setting to play audio while an end-user is on hold.</p><p><br>To upload a file for hold music, go to <em>Application Settings > Connection Settings ></em> <a href="https://docs.plumvoice.com/fuse/application-editor/application-settings/connection-settings#webservices"><em>Webservices</em></a> <em>> Webservice fetch audio</em><br><br><strong>Note:</strong> For the SMS module, this setting's effects will likely be noticeable only when servers are busy.</p> |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### [Timeout Length](/fuse/module-settings.md#timeout-length)

| ![](/files/86asoZYIHh3wUUH5ChLQ) | <p>Allows users to set the maximum time, in seconds, that elapse before returning a timeout error. This applies to modules that fetch outside scripts, like the SOAP, REST, or Subdialog modules.</p><p></p><p>Default value is 30 seconds. Minimum is 1 second. Maximum is 120 seconds.</p> |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### [Private](/fuse/module-settings.md#private)

| ![](/files/Xe4YsVJjuylVO0DYNy4i) | <p>Controls the logging function of a module.</p><p></p><p>Enabling this setting instructs the module to not record, report, or retain information input to that module for reporting or any other purposes. When enabled, any information entered into a module during a call will be lost immediately when the call terminates. A critical setting for businesses that need to maintain PCI-DSS or HIPAA compliance.</p><p></p><p>The module icon becomes grayed-out when this setting is enabled. More details <a href="/pages/-M4zJLOnor8aJqMZ7an7#visual-indicators">here</a>.</p> |
| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### [Show Custom Errors (SMS)](/fuse/module-settings.md#show-custom-errors)

| ![](/files/pRPnzBksLxtltEXzun13) | <p>When enabled, this setting adds an Error transmitter to the module. As shown in the following image, this can be used to set an alternate call flow if an error is returned.<br></p><p><img src="/files/p13sxtSEo49To3Zr5pCF" alt=""></p><ul><li><strong>Note:</strong> For sample errors returned on failure, see the <a href="https://docs.plumvoice.com/dev/plum-dev-apis/sms-api#sample-responses">SMS API page</a> for DEV.</li></ul> |
| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/fuse/data/sms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
