Create Campaign
POST
/api/v1/campaign/createCreate a new campaign
cURL example
curl -X POST \
'http://localhost:8000/api/v1/campaign/create' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{}'Parameters
| Name | Location | Type | Description |
|---|---|---|---|
authorization | header | object | — |
X-API-Key | header | object | — |
Request body
application/jsonView schema
{
"$ref": "#/components/schemas/CreateCampaignRequest"
}Responses
200Successful Responseapplication/jsonView schema
{
"$ref": "#/components/schemas/CampaignResponse"
}404Not found422Validation Errorapplication/jsonView schema
{
"$ref": "#/components/schemas/HTTPValidationError"
}