links

POST /v1/content/run-schedules

Post to these sites every N hours.

Alle links-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

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

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

Creates a cadence. The first run happens one interval from now, not immediately — a customer setting up a daily schedule at 4pm expects one tomorrow, not one before they have finished reading the form. Gated on `links.edit`. The cadence is served by a durable workflow on the worker, not by a job that calls this API back, so a scheduled run behaves identically to one started by hand. Minimum interval is one hour: anything finer on a private network is a footprint.

Aanvraaglichaam

NaamTypeVerplichtWat dit is
briefstringNee
site_idsstring[]Nee
anchorsContentRunAnchor[]Nee
categorystringNee
publish_policyContentRunPublishPolicyNeeHow far a run may go on its own. `draft_only` is the default and puts nothing live.
interval_hoursintegerNee
enabledbooleanNee
recipe_idstringNee

Reactie

NaamTypeVerplichtWat dit is
idstringJa
enabledbooleanJa
interval_hoursintegerJa
next_run_atstringJa
last_run_atstringNee
last_run_idstringNee
briefstringJa
categorystringNee
publish_policyContentRunPublishPolicyJaHow far a run may go on its own. `draft_only` is the default and puts nothing live.
site_idsstring[]Ja
recipe_idstringNee

Fouten die dit eindpunt kan retourneren

401 · 403 · 422