Resume a campaign build

Resume a blocked build after fixing its reported blocker, or run a parked build's retry now. refresh_targeting reloads its ICP and restarts sourcing, only for a build that found nobody.

POSThttps://app.trygtm.com/api/v1/campaign-builds/{run_id}/resume
Scope
write

Path parameters

run_idstringrequired
The build's id, from campaign_run_progress.

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Body

refresh_targetingbooleanoptional
Reload the build's saved ICP and restart sourcing. Only for a build that found nobody.

Request

curl -X POST https://app.trygtm.com/api/v1/campaign-builds/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/resume \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": "Campaign build 7c1e2d3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f is scheduled to resume. Check progress for the outcome."
}

Was this page helpful?