> For the complete documentation index, see [llms.txt](https://api.senderwiz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.senderwiz.com/customer/campaigns/mark-a-campaign-as-sent.md).

# Mark a Campaign as SENT

### ✅ Mark a Campaign as SENT

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

***

#### 🔹 HTTP Request

```http
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

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

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

***

#### 📦 Sample JSON Response

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