Referência da API
notifications
27 endpoints nesta área. Cada um tem a sua própria página com os respetivos parâmetros, a respetiva resposta e um pedido que pode executar.
| Método | Caminho | O que faz | Permissão |
|---|---|---|---|
| GET | /v1/me/push-devices | The phones registered to me for alerts in this organisation. | Qualquer chave de API |
| POST | /v1/me/push-devices | Register (or re-register) this phone for alerts. | Qualquer chave de API |
| DELETE | /v1/me/push-devices/{device_id} | Stop alerts on this phone. | Qualquer chave de API |
| PATCH | /v1/me/push-devices/{device_id} | Change this phone's name, language, time zone or quiet hours. | Qualquer chave de API |
| POST | /v1/me/push-devices/{device_id}/test | Send a real test alert to this phone now. | Qualquer chave de API |
| GET | /v1/notification-connections | Connected destinations and the routing matrix. | Qualquer chave de API |
| POST | /v1/notification-connections | Connect a destination. | Qualquer chave de API |
| GET | /v1/notification-connections/confirm | What a confirmation link is asking. | Nenhuma chave de API |
| POST | /v1/notification-connections/confirm | Confirm you want an organisation's notifications at this address. | Nenhuma chave de API |
| DELETE | /v1/notification-connections/{connection_id} | Disconnect a destination. | Qualquer chave de API |
| GET | /v1/notification-connections/{connection_id}/deliveries | A webhook destination's delivery log. | Qualquer chave de API |
| POST | /v1/notification-connections/{connection_id}/verify | Send a real test message to a destination. | Qualquer chave de API |
| GET | /v1/notification-phone | Text-message and WhatsApp alerts for me in this organisation. | Qualquer chave de API |
| POST | /v1/notification-phone/confirm | Confirm the code; my number is connected with every topic off. | Qualquer chave de API |
| POST | /v1/notification-phone/start | Text a six-digit code to my number. | Qualquer chave de API |
| DELETE | /v1/notification-phone/{channel} | Stop alert texts on one channel. | Qualquer chave de API |
| GET | /v1/notification-preferences | What you want to hear about, by topic. | Qualquer chave de API |
| PUT | /v1/notification-preferences | Turn a topic's mail on or off. | org.update |
| PUT | /v1/notification-routes | Turn a notification topic on or off for one destination. | Qualquer chave de API |
| DELETE | /v1/outbound-mail | Remove this organisation's own mail service. | connections.manage |
| GET | /v1/outbound-mail | The mail service this organisation sends through. | org.read |
| PUT | /v1/outbound-mail | Attach or replace this organisation's own mail service. | connections.manage |
| POST | /v1/outbound-mail/test | Send a real message through your provider, carrying a one-time code. | connections.manage |
| POST | /v1/outbound-mail/verify | Enter the code from the test message. | connections.manage |
| GET | /v1/sites/{site_id}/notification-channels | Which channels this site's notifications go to. | Qualquer chave de API |
| PUT | /v1/sites/{site_id}/notification-channels | Replace this site's notification channels. | Qualquer chave de API |
| POST | /v1/webhooks/demo-budget | A hands-on demo site reports that one of its AI budgets ran out. | Nenhuma chave de API |