POST
/
campaigns
curl --request POST \
  --url https://api.charp.ai/campaigns \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "brand_id": "<string>",
  "name": "<string>"
}'
{
  "campaign_id": "<string>",
  "brand_id": "<string>",
  "name": "<string>",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2 access token

Body

application/json

Campaign details to create

The body is of type object.

Response

200
application/json

Campaign created successfully

The response is of type object.