Skip to main content
PUT
https://api.getmalakai.com/api/
/
api
/
campaigns
/
outbound
/
action
/
{id}
Update Campaign Action
curl --request PUT \
  --url https://api.getmalakai.com/api/api/campaigns/outbound/action/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <x-access-token>' \
  --data '
{
  "action": "<string>"
}
'

Headers

Authorization
string
required
Your API key for authentication. Prefix with Bearer .
x-access-token
string
required
Your access token for authentication.

Path Parameters

id
string
required
The unique identifier of the campaign to update.

Body

action
string
required
Action to perform on the campaign. Valid values: "pause", "resume", "stop".

Request Example

{
  "action": "pause"
}