Get Notification Status
const url = 'https://example.com/settings/notifications/status/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/settings/notifications/status/ \ --header 'Authorization: Bearer <token>'Return which notification channels are configured (booleans only — no secrets).
Mirrors get_api_key_status: returns presence flags derived from env/settings without ever echoing the SMTP password, webhook URL, or webhook secret (NOTIF-05 / T-1229-09).
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Response for GET /settings/notifications/status/ (NOTIF-05 / NOTIF-06).
Returns only boolean presence flags — never a secret value (SMTP password, webhook URL, or webhook secret).
object
Whether the NOTIFICATIONS_ENABLED master toggle is set to true.
Whether an SMTP host is configured (SMTP_HOST is set). Does not echo the host value.
Whether a notification webhook URL is configured (NOTIFICATION_WEBHOOK_URL is set). Does not echo the URL.
Example generated
{ "notifications_enabled": true, "smtp_configured": true, "webhook_configured": true}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request