Send SMS from Make
In Make (formerly Integromat) any scenario can send a text with the HTTP app: one "Make a request" module calls the NS SMS API and your Android phone sends the SMS. A custom webhook brings the delivery status back into Make.
Who this is for
- Make users who connect forms, shops, calendars or CRMs and want an SMS step.
- Small businesses that send a few hundred transactional texts a month.
Before you start
- An Android phone (8.0 or newer) with a SIM card that can send SMS.
- The NS SMS app from Google Play, set as the default SMS app, with "Accept API requests" turned on in the API tab.
- Your phone ID (device_id) and API key (nss_...) from the API tab. Below they appear as YOUR_DEVICE_ID and nss_YOUR_API_KEY.
- A Make scenario with a trigger module that provides the phone number.
No account, email or password. Install the app, turn on the API and copy your phone ID and API key.
Setup, step by step
-
Step 1.Add the HTTP module
Add the HTTP app and choose Make a request. Fill it in as below.
URL: https://sms-api.n-soft.pl/v1/sms/send Method: POST Headers: Name: Authorization Value: Bearer nss_YOUR_API_KEY Body type: Raw Content type: JSON (application/json) Request content: see below Parse response: YesField names change a little between versions of the HTTP app; look for the same values.
-
Step 2.Paste the request content
Paste the JSON, then replace {{1.phone}} and {{1.name}} by mapping the fields of your trigger module: click into the field and pick them in the mapping panel.
{ "device_id": "YOUR_DEVICE_ID", "to": "{{1.phone}}", "text": "Hi {{1.name}}, your booking is confirmed." }If a mapped value may contain quotes or line breaks, build the body with the JSON > Create JSON module and map its output into Request content.
-
Step 3.Run once
Click Run once. The module output shows status code 202 and, with Parse response on, data.id and data.status.
Check the status and receive webhooks
The send request answers 202 with a message ID right away. The status then moves through received (the phone has it), sent and delivered, or failed with an error code. You can ask for it with GET /v1/sms/{id}, or let the server POST every change to a webhook address that you set in the app (API tab). Webhooks work on every plan and also report usage.warning, usage.limit_reached, device.offline and device.online.
To read the status later, add another Make a request module with Method GET, URL https://sms-api.n-soft.pl/v1/sms/ followed by the mapped data.id, and the same Authorization header.
For webhooks, start a new scenario with Webhooks > Custom webhook, add a webhook and copy its address into the NS SMS app (API tab). While the module waits for data, send a test SMS so Make learns the structure from the first sms.status event. Then use a filter on event or sms.status.
event sms.status, usage.warning, usage.limit_reached,
device.offline or device.online
sms.id message ID from the send response
sms.status received, sent, delivered, failed ...
sms.error_code for example no_service (failed only)
A custom webhook does not check the X-NS-Signature header; keep the address private.
Troubleshooting
- Every module run counts as an operation in Make. Sending to a list of up to 100 numbers in one request saves operations when the text is the same.
- The webhook shows no fields: the data structure was not learned. Open the webhook, redetermine the data structure and send another test SMS.
- 401 unauthorized: the Authorization header must be "Bearer " followed by the key, and device_id must belong to that key.
- 403 api_disabled: open the app and turn on "Accept API requests" in the API tab.
- 422 validation_failed: the number must be in international E.164 format, with + and the country code (for example +14155550123), and the text at most 1,600 characters.
- 429: more than 30 requests a minute, or the daily or monthly cap of your plan (Free 50 a day, Pro 500, Business 1,000). The response says which one.
SMS API reference → SMS error codes → Plans and daily limits →