Pause a workflow campaign
No new runs start; the ones under way go on.
No new runs start; the ones under way go on.
Rate limit: 2000 requests per minute per organization, counted together with every endpoint that has no stricter limit of its own. Exceeding it returns 429 with Retry-After; the X-RateLimit-* response headers report your remaining allowance on every call.
v2/workflow-campaigns/{workflow_campaign_id}/pauseAuthorization
AuthorizationRequiredBearer <token>
Your Graine API key. Create one in the dashboard under Developers, or via POST /v2/api-keys. Send it as Authorization: Bearer <key>.
In: header
Path Parameters
workflow_campaign_idRequiredWorkflow Campaign Id
The workflow campaign's id.
Response Body
200
Paused.
idRequiredId
The campaign's id.
workflow_idRequiredWorkflow Id
Its workflow.
versionRequiredVersion
The version it pinned when it was created.
nameRequiredName
Its name.
statusRequiredStatus
draft | awaiting_approval | running | paused | completed | cancelled.
max_in_flightRequiredMax In Flight
The most runs in a call (or about to place one) at a time.
entriesRequiredEntries
Contacts added.
refusedRequiredRefused
Contacts refused when added.
created_byCreated By | null
Who created it.
created_atCreated At | null
When.
started_byStarted By | null
Who started it.
started_atStarted At | null
When.
approved_byApproved By | null
Who approved the start, when it needed one.
paused_byPaused By | null
Who paused it last.
stopped_byStopped By | null
Who cancelled it.
completed_atCompleted At | null
When it had nothing left to do.
updated_atUpdated At | null
When it last changed.
totalsAny properties in WorkflowCampaignTotals
401
1100 — missing, unknown or inactive API key. 1101 — a browser session token was presented instead of an API key.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
403
1102 — the key is valid but lacks the scope this endpoint requires, or names another organization. GET /v2/scopes reports what a key holds.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
404
1200 — no such resource in your organization. A resource belonging to another organization answers 404, never 403.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
409
1201 — the resource's current state does not allow this action.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
422
Validation Error
errorRequiredinteger
Stable integer code from the error table. Branch on this, not on the message.
messageRequiredstring
One human-readable sentence. Wording may change; the code will not.
429
1300 — the per-organization request rate or concurrent-call limit was reached. Carries Retry-After.
errorRequiredError
Stable integer code from the /v2 error table. Branch on this.
messageRequiredMessage
One human-readable sentence. Wording may change; the code will not.
Paused.

