Link an SMS to a workflow
Changed onLink an existing SMS to a workflow—a transactional message, a one-time send, an automation action, or an API-triggered broadcast—to send it to your audience.
If your workflow is already live, people start receiving this SMS as soon as you link it. If you make changes to the message after linking it, you need to publish the SMS to send the latest content to your audience.
You can only link an SMS to one workflow at a time. If you try to link an SMS to a workflow or action that's already linked to a different message, the request fails with a 409 unless you pass "force": true. The force parameter replaces (and unlinks) the other message.
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/design_studio/sms/{id}/link
- Authnone declared
Path parameters
The UUID of the SMS.
Request body
Example request
{
"target": {
"type": "campaign_action",
"action_id": 42
},
"force": false
}Response
SMS linked
Example response
{
"node_id": "123e4567-e89b-12d3-a456-426614174000",
"template_id": 987654,
"target": {
"type": "campaign_action",
"action_id": 42
}
}Changes
- info
api tag
SMS link and publishadded - info
api tag
Design Studio SMSremoved
- info
- info
endpoint added
- info