links

PATCH /v1/content/campaigns/{campaignId}/runs/{runId}

Move one queued article to a different moment.

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/campaigns/{campaignId}/runs/{runId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "starts_at": <string> }'

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

Refused with 422 once the article has started: its copy already exists and its placements already carry their own times, so "reschedule" would quietly mean something else. Gated on links.edit.

Parameters

NameTypeRequiredWhat it is
campaignId (path)stringYes—
runId (path)stringYes—

Request body

NameTypeRequiredWhat it is
starts_atstringYesWhen this article should be written and placed.

Response

NameTypeRequiredWhat it is
campaign_idstringYes—
briefstringYes—
totalintegerYes—
pendingintegerYes—
doneintegerYes—
failedintegerYes—
pausedintegerYes—
cancelledintegerYes—
next_atstringNo—
last_atstringNo—
site_countintegerYes—
runsContentCampaignRun[]Yes—

Errors this endpoint can return

401 · 403 · 404 · 422