links

PATCH /v1/content/run-schedules/{scheduleId}

Change or pause a cadence.

All links endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The key must carry the links.edit permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X PATCH https://api.zinndigital.com/v1/content/run-schedules/{scheduleId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Any subset of the fields. Setting enabled to false stops future runs and leaves every run it has already made alone. Gated on links.edit.

Parameters

NameTypeRequiredWhat it is
scheduleId (path)stringYes—

Request body

NameTypeRequiredWhat it is
briefstringNo—
site_idsstring[]No—
anchorsContentRunAnchor[]No—
categorystringNo—
publish_policyContentRunPublishPolicyNoHow far a run may go on its own. draft_only is the default and puts nothing live.
interval_hoursintegerNo—
enabledbooleanNo—
recipe_idstringNo—

Response

NameTypeRequiredWhat it is
idstringYes—
enabledbooleanYes—
interval_hoursintegerYes—
next_run_atstringYes—
last_run_atstringNo—
last_run_idstringNo—
briefstringYes—
categorystringNo—
publish_policyContentRunPublishPolicyYesHow far a run may go on its own. draft_only is the default and puts nothing live.
site_idsstring[]Yes—
recipe_idstringNo—

Errors this endpoint can return

401 · 403 · 404 · 422