notifications
GET /v1/notification-connections
Connected destinations and the routing matrix.
Autenticazione
Invia una chiave API come bearer token. Questo endpoint non specifica un permesso specifico nella specifica, quindi assegna alla tua chiave i permessi minimi necessari e verifica la risposta invece di fare supposizioni.
L'ID della tua organizzazione va qui
Questo endpoint accetta org_id come parametro di query. Omettilo e la chiamata coprirà l'intero sottoalbero del tuo tenant; invialo per limitare la chiamata a una singola organizzazione.
L'identificativo della tua organizzazione si trova nella schermata delle chiavi API nella tua dashboard, accanto alla chiave stessa. È lo stesso identificativo in ogni chiamata che effettui.
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/notification-connections \
-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 destination this organisation has connected - e-mail addresses, Slack channels, Telegram chats - with the full grid of which notification types go to each. The grid is returned COMPLETE rather than as the stored deviations. Only the cells a human switched OFF are persisted (absence means enabled), so a client that had to infer "everything not listed is on" would be re-implementing that default - and two implementations of one decision is how a customer ends up on a ladder nobody chose.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
org_id (query) | string | No | The organization to act on. Omitted resolves to your own ONLY when you belong to exactly one organisation; a principal in more than one must name it, or the call is refused `422… |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
connections | NotificationConnection[] | No | — |
topics | object[] | No | The routing units. TOPICS, not notification types - the matrix used to address a type enum that no notification template declares, so no cell of it could ever have addressed a m… |