Campaigns

Resume campaign

Carry on where a paused run stopped.

Path Parameters

id*string

A UUID; anything else is 400 invalid_id.

Formatuuid

Header Parameters

X-Request-Id?string

Your id for this request; it becomes the request_id of any error. Without it the server makes one.

Idempotency-Key?string

A fresh value per request; retry with the same one. The same key and request answers with the first response and Idempotency-Replayed: true; the same key on a different request is 409 idempotency_key_reused; while the first is still running, 409 idempotency_in_progress. A 5xx frees the key only when nothing reached the provider; any other answer is replayed. Kept 24 hours, per workspace.

Length1 <= length <= 255
curl -X POST 'https://v3.ghala.io/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/resume'
{  "campaign_id": "78614b6c-fe7c-41e2-8e25-c9b3a3c91904",  "status": "scheduled",  "runs_resumed": 0}