مرجع API
notifications
18 نقطه پایانی در این بخش وجود دارد. هر یک دارای صفحه اختصاصی خود به همراه پارامترها، پاسخ و درخواستی است که میتوانید اجرا کنید.
| روش | مسیر | کارکرد | مجوز |
|---|---|---|---|
| GET | /v1/notification-connections | Connected destinations and the routing matrix. | هر کلید API |
| POST | /v1/notification-connections | Connect a destination. | هر کلید API |
| GET | /v1/notification-connections/confirm | What a confirmation link is asking. | بدون کلید API |
| POST | /v1/notification-connections/confirm | Confirm you want an organisation's notifications at this address. | بدون کلید API |
| DELETE | /v1/notification-connections/{connection_id} | Disconnect a destination. | هر کلید API |
| GET | /v1/notification-connections/{connection_id}/deliveries | A webhook destination's delivery log. | هر کلید API |
| POST | /v1/notification-connections/{connection_id}/verify | Send a real test message to a destination. | هر کلید API |
| GET | /v1/notification-preferences | What you want to hear about, by topic. | هر کلید 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. | هر کلید 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. | هر کلید API |
| PUT | /v1/sites/{site_id}/notification-channels | Replace this site's notification channels. | هر کلید API |
| POST | /v1/webhooks/demo-budget | A hands-on demo site reports that one of its AI budgets ran out. | بدون کلید API |