Mark a Campaign as SENT

Forcefully mark a campaign as "sent" using its unique identifier. This is useful for testing, debugging, or manually closing campaigns that are stuck.

✅ Mark a Campaign as SENT

Change the status of a campaign to sent, even if it has not completed its delivery cycle.


🔹 HTTP Request

PUT API-URL/campaigns/CAMPAIGN-UNIQUE-ID/mark-sent

🔸 URL Segments

Segment
Required
Description

CAMPAIGN-UNIQUE-ID

Yes

Campaign unique ID to mark as sent.


🔐 Authorization Header

X-API-KEY: your-api-key-here

💻 PHP Example

// Mark CAMPAIGN as sent
$response = $endpoint->markSent('CAMPAIGN-UNIQUE-ID');

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';

📦 Sample JSON Response

{
  "status": "success",
  "campaign": {
    "status": "sent"
  }
}

Last updated