Strapi SMS Plugin Documentation
Strapi is an open-source headless content management system (CMS) used to manage and deliver content across different platforms, such as websites, mobile apps, and IoT devices. Unlike traditional CMS platforms, Strapi separates the backend (content management) from the frontend (presentation), allowing users to build custom front-end applications using their preferred technologies. Strapi provides a flexible API that can be used to retrieve content in various formats, such as JSON, and integrate with other services. It also supports easy content creation, user permissions, and customizable workflows. Strapi is highly customizable and extensible, making it suitable for developers looking for a headless CMS to manage content in dynamic, multi-channel environments.
In our Strapi SMS plugin documentation we show you how to install and use the plugin.
Functions
- Send SMS in large quantities to your users
- Make text-to-speech calls in bulk to your users
Prerequisites
- You have an API key from seven
- You have installed the strapi plugin roles & permissions
- Before sending to your users, you have created the 'mobile_phone' field in the 'users-permissions_user' collection - Screenshot
Installation via NPM
- 1
Navigate to Strapi root
Navigate to the Strapi installation directory:
cd path/to/the/strapi/root/directory
- 2
Install package
Install the package via NPM:
npm i @seven.io/strapi
Setting options
Role
Sending to specific users. Specify here which users you would like to send the SMS to. This field is overwritten if you enter a value under to.
To
Recipient numbers or recipient names/group names from your Seven contact book
From
Sender name, up to eleven alphanumeric characters or 16 numeric characters possible
Foreign ID
Enter a value to be returned during the callback. Max. 64 characters, permitted characters: a-z, A-Z, 0-9, .-_@
Label
Enter an optional label ein
TTL
Validity period, enter the desired validity period of the SMS in minutes. The default value is 2880, which corresponds to 48 hours.
Delay
Delayed sending, enter the desired sending time if you do not want to send the SMS immediately
Flash
Activate for sending Flash SMS