Skip to content

Cancel a follow-up campaign

Cancel the automatic follow-up to this campaign, if it is enabled.

HTTP method: POST

https://api.sender.net/v2/campaigns/{id}/cancel_followup


ParameterTypeDescription
idstring requiredCampaign ID

const url = new URL("https://api.sender.net/v2/campaigns/{id}/cancel_followup");
let headers = {
"Authorization": "Bearer [your-token]",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));

Example Response
{
"success": true,
"message": "Campaign auto followup canceled"
}