Skip to main content
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

Path Parameters

id
string
required

Body

application/json
name
string
Required string length: 3 - 100
Example:
qualificationAutomatic
integer
Required range: 0 <= x <= 100
Example:
qualificationVerification
integer
Required range: 0 <= x <= 100
Example:
variables
object
Example:

Response

id
string
Example:
message
string
Example: