PUT
/
campaigns
/
{id}
Update Campaign
curl --request PUT \
  --url https://api.kakiyo.com/v1/campaigns/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Updated Campaign Name",
  "qualificationAutomatic": 80,
  "qualificationVerification": 60,
  "variables": {
    "companyValue": "Updated value proposition",
    "painPoint": "Updated pain point",
    "benefit": "Updated benefit statement"
  }
}'
{
  "id": "campaign_12345abcde",
  "message": "Campaign updated successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the campaign to update

Body

application/json

Campaign properties to update

The body is of type object.

Response

200
application/json

Campaign updated successfully

The response is of type object.