ArgorantDocs

Pause or stop

posthttps://app.argorant.com/api/v1/campaigns/{campaign_id}/pause
POST
/api/v1/campaigns/{campaign_id}/pause

/pause holds sending and keeps the schedule; /stop ends the campaign. Both take an empty body.

Authorization

BearerAuth
AuthorizationBearer <token>

Your API key from app.argorant.com/profile, sent as Authorization: Bearer <key>.

In: header

Path Parameters

campaign_id*string

Campaign id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

Shell
curl -X POST "https://app.argorant.com/api/v1/campaigns/7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c/pause" \  -H "Content-Type: application/json" \  -d '{}'
JSON
{  "campaign": {    "id": "7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c",    "status": "paused"  }}