Sanggunian ng API
notifications
17 mga endpoint sa lugar na ito. Ang bawat isa ay may sariling pahina kasama ang mga parameter nito, ang tugon nito, at isang kahilingan na maaari ninyong patakbuhin.
| Paraan | Path | Ang ginagawa nito | Pahintulot |
|---|---|---|---|
| GET | /v1/notification-connections | Connected destinations and the routing matrix. | Anumang API key |
| POST | /v1/notification-connections | Connect a destination. | Anumang API key |
| GET | /v1/notification-connections/confirm | What a confirmation link is asking. | Walang API key |
| POST | /v1/notification-connections/confirm | Confirm you want an organisation's notifications at this address. | Walang API key |
| DELETE | /v1/notification-connections/{connection_id} | Disconnect a destination. | Anumang API key |
| POST | /v1/notification-connections/{connection_id}/verify | Send a real test message to a destination. | Anumang API key |
| GET | /v1/notification-preferences | What you want to hear about, by topic. | Anumang API key |
| 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. | Anumang API key |
| 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. | Anumang API key |
| PUT | /v1/sites/{site_id}/notification-channels | Replace this site's notification channels. | Anumang API key |
| POST | /v1/webhooks/demo-budget | A hands-on demo site reports that one of its AI budgets ran out. | Walang API key |