ai

GET /v1/ai/subscriptions

Which sites hold a recurring AI product, and when it next runs.

All ai endpoints

Authentication

Send an API key as a bearer token. The key must carry the sites.view 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 GET https://api.zinndigital.com/v1/ai/subscriptions \
  -H "Authorization: Bearer zdk_live_…"

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

The live AI Webmaster and AI Update Guard subscriptions for this organization. Each row carries the site, the product, and `cadence_days` — how many days the customer was sold between automatic runs — plus `next_due_at`, when the next one falls. `cadence_days` is a NUMBER rather than a rendered phrase so a client can say "every 30 days" in the customer's own language. `last_run_at` is null when the product has never run, which is not the same as having run and found nothing. Stopped subscriptions are omitted. Requires `sites.view`.

Response

NameTypeRequiredWhat it is
dataAiProductSubscription[]Yes

Errors this endpoint can return

401 · 403 · 429