npm package: @icosense/nodered-contrib-sms77
Description: sms77 node collection for Node-RED.
Author: sms77 e.K.
Latest version: 3.2.0

![](https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png "sms77 logo")

# nodered-contrib-sms77

This is a Fork from [nodered-contrib-sms77](https://github.com/seven-io/nodered-contrib-sms77)

[Node-RED](http://nodered.org) node collection
for [sending SMS](https://www.sms77.io/en/products/send-sms/)
, [text-to-speech calls](https://www.sms77.io/en/products/voice/)
and [number validation](https://www.sms77.io/en/products/number-validation/)
via [sms77](https://www.sms77.io/).

## Installation

Run the following command in your Node-RED user directory - usually `~/.node-red`:

**NPM**
`npm install @icosense/nodered-contrib-sms77`

**Yarn**
`yarn add @icosense/nodered-contrib-sms77`

## Request Options

### sms77-config node

*API Key*: An API key from sms77 - create one in
your [developer dashboard](https://app.sms77.io/developer).

*Name*: An arbitrary name for the node, helpful if you use multiple configurations.

### sms77-sms node
Use this node for sending SMS.

*Config**: A sms77-config node.

*Message**: The SMS text which defaults to `msg.payload.text`. May not exceed 1520 characters.

*Recipient(s)**: SMS recipient(s) separated by comma defaulting to `msg.payload.to`.

*From (Sender)*: Set a custom sender identifier defaulting to `msg.payload.from`.

*Label*: Set a custom label for defaulting to `msg.payload.label`
sorting [analytics](https://www.sms77.io/en/docs/gateway/http-api/analytics/).

*Foreign ID*: Optionally set a custom value returned in callbacks.

*UDH*: Set a custom user data header.

*TTL*: Set a custom time to live in minutes.

*Delay*: Set a custom date for time-delayed dispatch in the form of a Unix timestamp or a
date/time string formatted as yyyy-mm-dd hh:ii.

*Return JSON?*: If enabled, the API returns a detailed JSON response.

*Unicode?*: If enabled, enforce unicode encoding ignoring API detection.

*Flash?*: If enabled, SMS get sent as [flash](https://help.sms77.io/en/flash-sms).

*Details?*: If enabled, the API returns dispatch specific information - is ignored
if `json` is enabled.

*UTF8?*: If enabled, enforce UTF8 encoding ignoring API detection.

*Debug?*: If enabled, the API validates the request but doesn't send out SMS - useful for
testing.

*No Reload?*: If enabled, dispatch of duplicate SMS, text and recipient alike within 180
seconds, gets allowed.

*Performance Tracking?*: If enabled, links found in the text get replaced with a shortened
URL and [click tracking](https://help.sms77.io/en/performance-tracking-1) enabled.

*Name*: An arbitrary name for the node helpful for identification.

### sms77-voice node
Use this node for converting a text to speech, call a number and read the message out loud.

*Config**: A sms77-config node.

*Message**: The text to convert to voice which defaults to `msg.payload`. May not exceed
10.000 characters.

*Recipient(s)**: The recipient(s) of the call separated by comma defaulting to `msg.topic`
.

*From (Caller)*: The caller identifier which must be your
own [virtual number](https://help.sms77.io/en/ordering-your-own-number) or
a [shared number](https://www.sms77.io/en/docs/glossary/shared-numbers/).

*Is XML?*: If enabled, the API parses the text as XML format.

*Return JSON?*: If enabled, the API returns a detailed JSON response.

*Name*: An arbitrary name for the node helpful for identification.

### sms77-lookup node
Use this node for performing number lookups.

*Config**: A sms77-config node.

*Number(s)**: The phone number(s) to look up separated by comma.

*Type**: The lookup type to perform.

*Return JSON?*: If enabled, the API returns a detailed JSON response for MNP lookups. All
other types return JSON by default.

*Name*: An arbitrary name for the node helpful for identification.

> Required options are marked with an asterisk (*).

Visit our [API Documentation](https://www.sms77.io/en/docs/gateway/http-api/) for a
detailed request description.

## Support

Need help? Feel free to [contact us](https://www.sms77.io/en/company/contact/).

[![MIT](https://img.shields.io/badge/License-MIT-teal.svg)](LICENSE)