client-reports

PATCH /v1/client-reports/clients/{client_id}

Change a client or its schedule.

All client-reports endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the sites.create 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/client-reports/clients/{client_id} \
  -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

Requires sites.create.

Parameters

NameTypeRequiredWhat it is
client_id (path)stringYes—

Request body

NameTypeRequiredWhat it is
namestringNo—
brand_idobjectNo—
domainsstring[]No—
recipientsstring[]No—
localestringNoThe client's language — any enabled language code.
sectionsClientReportSectionKey[]No—
contact_namestringNo—
notesstringNoYour own notes; never printed.
cadenceClientReportCadenceNo—
send_emailbooleanNo—
narrativebooleanNozs-541: open each report with a few paragraphs in plain words, written by AI in the client's language from the report's own figures. Paid from Zinn® credits through the connected…
activebooleanNo—

Response

NameTypeRequiredWhat it is
idstringYes—
namestringYes—
brand_idobjectYes—
logo_sha256stringYesThe client's own mark (E5); empty when none.
domainsstring[]Yes—
recipientsstring[]Yes—
localestringYes—
sectionsClientReportSectionKey[]Yes—
contact_namestringYes—
notesstringYes—
cadenceClientReportCadenceYes—
send_emailbooleanYes—
narrativebooleanYeszs-541: reports open with a summary in plain words.
activebooleanYes—
next_run_atobjectYes—
last_run_atobjectYes—
created_atstringYes—

Errors this endpoint can return

401 · 403 · 404 · 422 · 429