***

title: create_campaign
slug: /reference/python/rest/registry/brands/create-campaign
description: Create a messaging campaign under a brand.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Create a messaging campaign under a brand.

<EndpointSchemaSnippet endpoint="POST /api/relay/rest/registry/beta/brands/{id}/campaigns" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/relay/rest/registry/beta/brands/{id}/campaigns" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

campaign = client.registry.brands.create_campaign(
    "brand-id",
    description="Customer notifications",
    sms_use_case="MIXED",
)
print("Campaign ID:", campaign.get("id"))
```