support
GET /v1/sites/{siteId}/support-recommendations
What the support AI has advised about this site, and whether it was acted on.
Autenticazione
Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione sites.view; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/support-recommendations \
-H "Authorization: Bearer zdk_live_…"Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
Every recommendation raised about this site, newest first, in every state — including ones marked `ignored`. Showing the customer their own record is deliberate: it is what makes an automatic reply quoting earlier advice fair rather than an ambush. Requires `sites.view`.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
siteId (path) | Uuid | Sì | The site whose advice history to read. |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
items | SupportRecommendation[] | Sì | — |
live | integer | Sì | How many are still open — the number the panel badges. |
Errori che questo endpoint può restituire
401 · 403 · 404