Tài liệu tham khảo API
notifications
Có 18 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.
| Phương thức | Đường dẫn | Chức năng | Quyền |
|---|---|---|---|
| GET | /v1/notification-connections | Connected destinations and the routing matrix. | Bất kỳ khóa API nào |
| POST | /v1/notification-connections | Connect a destination. | Bất kỳ khóa API nào |
| GET | /v1/notification-connections/confirm | What a confirmation link is asking. | Không có khóa API |
| POST | /v1/notification-connections/confirm | Confirm you want an organisation's notifications at this address. | Không có khóa API |
| DELETE | /v1/notification-connections/{connection_id} | Disconnect a destination. | Bất kỳ khóa API nào |
| GET | /v1/notification-connections/{connection_id}/deliveries | A webhook destination's delivery log. | Bất kỳ khóa API nào |
| POST | /v1/notification-connections/{connection_id}/verify | Send a real test message to a destination. | Bất kỳ khóa API nào |
| GET | /v1/notification-preferences | What you want to hear about, by topic. | Bất kỳ khóa API nào |
| 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. | Bất kỳ khóa API nào |
| 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. | Bất kỳ khóa API nào |
| PUT | /v1/sites/{site_id}/notification-channels | Replace this site's notification channels. | Bất kỳ khóa API nào |
| POST | /v1/webhooks/demo-budget | A hands-on demo site reports that one of its AI budgets ran out. | Không có khóa API |