> For the complete documentation index, see [llms.txt](https://magicpay.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magicpay.gitbook.io/magicpay-documentation/products/create-campaigns.md).

# Create Campaigns

## 5.13 Create Campaigns

**Request**

| Method | URL           |
| ------ | ------------- |
| POST   | /add-campaign |

Copy

```
{
  "description": "Campaign Description",
  "name": "Campaign Name",
  "image": "campaign_image.jpg",
  "rule_id": 456,
  "is_active": true
}
```

**Response**

| Status | Response                                                        |
| ------ | --------------------------------------------------------------- |
| 200    | <p>{</p><p>"status": true,</p><p>"campaign\_id": 40</p><p>}</p> |
| 403    |                                                                 |
| 400    |                                                                 |
| 401    |                                                                 |
| 401    |                                                                 |
| 500    |                                                                 |

[<br>](https://hilals-organization.gitbook.io/magicpay-documentation/5.-products/5.12-create-products)
