مرجع واجهة برمجة التطبيقات (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 |