Approve or Reject a Campaign
Approve or reject a campaign.
post/api/v1/campaigns/{campaignId}/update
Request
- Base URLhttps://api.enterprise.appier.net
- URLhttps://api.enterprise.appier.net/api/v1/campaigns/{campaignId}/update
- AuthAPI key in header appId and API key in header Authorization
Path parameters
campaignIdinteger required
Example:123456
The numeric ID of the campaign to approve or reject, for example, "123456". To find it, edit the campaign in the AIQUA dashboard and copy the number at the end of the page URL, without any prefix or trailing slash.
Request body
Example request
{
"action": "reject",
"reason": "The reason for rejecting the campaign."
}Response
The campaign was approved or rejected.
Example response
{
"campaignId": 123456,
"requestId": "0fd10467-a54d-4f52-b21e-c42e944fa87c",
"status": "Approved",
"statusChangedAt": "2026-09-23T03:00:00+00:00",
"statusChangedBy": {
"type": "apiToken",
"id": "tok_0123456789ab",
"name": "CRM Integration"
},
"statusChangeSource": "API"
}Changes
No recorded changes to this operation across all 1 revision of this API.