API 参考
notifications
此区域有 14 个端点。每个端点都有自己的页面,包含其参数、响应以及您可以运行的请求。
| 方法 | 路径 | 功能说明 | 权限 |
|---|---|---|---|
| GET | /v1/notification-connections | Connected destinations and the routing matrix. | — |
| POST | /v1/notification-connections | Connect a destination. | — |
| GET | /v1/notification-connections/confirm | What a confirmation link is asking. | — |
| POST | /v1/notification-connections/confirm | Confirm you want an organisation's notifications at this address. | — |
| DELETE | /v1/notification-connections/{connection_id} | Disconnect a destination. | — |
| POST | /v1/notification-connections/{connection_id}/verify | Send a real test message to a destination. | — |
| GET | /v1/notification-preferences | What you want to hear about, by topic. | — |
| PUT | /v1/notification-preferences | Turn a topic's mail on or off. | — |
| PUT | /v1/notification-routes | Turn a notification topic on or off for one destination. | — |
| DELETE | /v1/outbound-mail | Remove this organisation's own mail service. | — |
| GET | /v1/outbound-mail | The mail service this organisation sends through. | — |
| PUT | /v1/outbound-mail | Attach or replace this organisation's own mail service. | — |
| POST | /v1/outbound-mail/test | Send a real message through your provider, carrying a one-time code. | — |
| POST | /v1/outbound-mail/verify | Enter the code from the test message. | — |