Remove a campaign's follow-up
Overview
Take the follow-up message off a campaign channel.
Use this when you want a single message with no reminder.
You'll need the channel's unique code: channels[].unique_code in Get one campaign.
The follow-up is cleared; the first message is unchanged.
Prerequisites
- A bearer token. See Authentication.
- The channel's unique code (
uniqueCode), fromdata.channels[].unique_codein Get one campaign.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
DELETE /api/v1/campaign/channel/{uniqueCode}/remove/followup
Authentication
Partner or Account token
- The channel's campaign must belong to a location inside your own account tree. If it doesn't, the call returns
403. - An unknown unique code returns
400Channel not found.
Rate limit
This endpoint has no rate limit.
Request parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
uniqueCode | path | string | Yes | The channel's unique code (channels[].unique_code), not a campaign id. |
Request body
None.
Request payload
None.
Response body
The payload is inside data.
| Field | Type | Description |
|---|---|---|
message | string | Follow up template removed successfully. |
Response payload
{
"data": {
"message": "Follow up template removed successfully"
}
}Examples
Success payload
See Response payload.
Error payload
400 Channel not found
{
"message": "Channel not found",
"status": "error",
"errors": []
}403 Channel outside your account
{
"message": "You are not authorized to remove the follow up template",
"status": "error",
"errors": []
}| Status | Meaning |
|---|---|
200 | The follow-up is removed. |
400 | No channel has that unique code. |
401 | The token is missing, expired or invalid. |
403 | The channel's location is outside your account tree. |
500 | Unexpected server error. |
Example request
curl --request DELETE \
--url "https://production-api.shoutaboutus.com/api/v1/campaign/channel/5289ho/remove/followup" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 17 days ago
Did this page help you?
