Customer.io
Overview
This guide explains how to connect the Miatel SMS API to the Customer.io platform using webhooks. This way, you can send SMS messages directly from Customer.io campaigns, using dynamic customer data.
Before You Start
To complete the setup successfully, make sure you have:
An active Miatel account with access to the SMS API (username and password)
A Customer.io workspace with access to Journeys and the Webhook action
Customer.io IP addresses whitelisted in Miatel platform, so that requests are not blocked
Setting up a Webhook in Customer.io
In a Journey, drag the Send and Receive Data block

Click Add Request

Fill in the fields:
Method: GET
Request URL:
https://sms-hub.miatel.com:4849/sendsms?username=example_username&password=example_password&from=YourBrand&to={{customer.phone_number}}&text={{customer.message | url_encode}}&comment={{campaign.name | url_encode}}

Explanation of parameters
username / password
Your Miatel API credentials
from
to
Recipient phone number in E.164 format
text
Message text
comment
Additional comment (e.g., campaign name).
Testing
In Customer.io, open the created webhook and click Send test.
Make sure the response includes code 202 Accepted. This means Miatel Platform successfully accepted the message for delivery ✨
Last updated
Was this helpful?