Skip to main content
POST
/
api
/
v1
/
campaigns
/
{id}
/
pause
Pause Campaign
curl --request POST \
  --url https://api.ravan.ai/api/v1/campaigns/{id}/pause \
  --header 'X-Api-Key: <api-key>'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Authorizations

X-Api-Key
string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Path Parameters

id
string
required
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Campaign ID

Response

200 - application/json

Successful response

success
boolean
message
string
data
object