إنتقل إلى المحتوى الرئيسي

هذه الصفحة غير متاحة بالعربية بعد، وتُعرض بالإنجليزية.

Dexwize Notification Service

Email, Microsoft Teams and signed webhook notifications in English and Arabic (ADR-0024). Services with the notification_sender role raise notifications; tenant admins configure channels. Targets and secrets are stored encrypted and never returned.

Version 1.0.0. Download the OpenAPI specification.

Authentication: bearer.

Operations​

MethodPathSummary
GET/v1/notification-settingsThe caller's tenant notification settings (targets redacted)
PUT/v1/notification-settingsSet email recipients per event and the preferred language
GET/v1/notification-settings/smtpThe caller's organisation's own email server (vendor, partner or customer); the password is never returned
PUT/v1/notification-settings/smtpSave the organisation's email server and sender
DELETE/v1/notification-settings/smtpRemove the organisation's email server (email falls back to the vendor default or the platform sender)
POST/v1/notification-settings/smtp/testSend one test email through the saved settings now and record the outcome (5 per 10 minutes)
PUT/v1/notification-settings/teamsConfigure the Teams channel (incoming webhook or Power Automate workflow URL; write-only)
DELETE/v1/notification-settings/teamsRemove the Teams channel
POST/v1/notification-settings/testSend a test notification to the configured channels
POST/v1/notification-settings/webhooksAdd a signed webhook endpoint; the signing secret is returned once
DELETE/v1/notification-settings/webhooks/{id}Remove a webhook endpoint
POST/v1/notificationsRaise a notification for a tenant (services only)

GET /v1/notification-settings​

The caller's tenant notification settings (targets redacted)

StatusDescriptionBody
200OKSettingsView

PUT /v1/notification-settings​

Set email recipients per event and the preferred language

Request body: object (JSON).

StatusDescriptionBody
200SavedSettingsView
400Unknown event or invalid recipient

GET /v1/notification-settings/smtp​

The caller's organisation's own email server (vendor, partner or customer); the password is never returned

Needs EmailSettingsManage (tenant admins, and partner admins for their partner's home tenant). effectiveSender says which server sends this tenant's email now: its own, the vendor default, or the platform.

StatusDescriptionBody
200OKSmtpView
403Missing EmailSettingsManage

PUT /v1/notification-settings/smtp​

Save the organisation's email server and sender

TLS is always required (STARTTLS on 587 and 2525, implicit TLS on 465). The host must resolve only to public addresses unless the installation allows private relays. Temporary support (JIT) sessions are refused.

Request body: SmtpRequest (JSON).

StatusDescriptionBody
200SavedSmtpView
400Invalid settings (validation problem under "smtp")
403Missing EmailSettingsManage, or a JIT session

DELETE /v1/notification-settings/smtp​

Remove the organisation's email server (email falls back to the vendor default or the platform sender)

StatusDescriptionBody
204Removed
403Missing EmailSettingsManage, or a JIT session
404Not configured

POST /v1/notification-settings/smtp/test​

Send one test email through the saved settings now and record the outcome (5 per 10 minutes)

Request body: object (JSON).

StatusDescriptionBody
200Tried; succeeded is false with the server's answer in error when sending failedobject
400Invalid address, or no settings saved
403Missing EmailSettingsManage, or a JIT session
429Too many tests; see Retry-After

PUT /v1/notification-settings/teams​

Configure the Teams channel (incoming webhook or Power Automate workflow URL; write-only)

Request body: object (JSON).

StatusDescriptionBody
200SavedSettingsView
400Not a Teams or workflow URL

DELETE /v1/notification-settings/teams​

Remove the Teams channel

StatusDescriptionBody
204Removed

POST /v1/notification-settings/test​

Send a test notification to the configured channels

StatusDescriptionBody
202AcceptedAcceptResult

POST /v1/notification-settings/webhooks​

Add a signed webhook endpoint; the signing secret is returned once

Request body: object (JSON).

StatusDescriptionBody
201Createdobject
400Invalid URL, unknown event or too many webhooks

DELETE /v1/notification-settings/webhooks/{id}​

Remove a webhook endpoint

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
204Removed
404Not found

POST /v1/notifications​

Raise a notification for a tenant (services only)

Request body: SendRequest (JSON).

StatusDescriptionBody
202Accepted (or already accepted for this idempotency key)AcceptResult
400Invalid event, locale, data or idempotency key
403Caller lacks the notification_sender role
429Tenant notification limit reached; see Retry-After