post https://{bot-name}.ada.support/api/campaigns/sms/trigger
Start personalized two-way conversations using Short Message Service (SMS) messages. These automated interactions are based on campaigns designed in the Ada dashboard.
Note that you can only trigger an SMS-based campaign for one recipient per API call. Use the Send to a list option in the dashboard to send SMS messages to multiple recipients at a time.
Format the body of your requests as in the following example:
{
"campaign_key": "renew_subscriptions",
"language": "en",
"recipient": {
"meta_fields": {
"phone_number": "4165551234",
"first_name": "Sam"
}
}
}
A 200 response means that Ada has triggered the campaign and sent the messages to Twilio/SunCo. It does not account for any issues that might impact the messages once they leave the Ada system.