The workspace's channel webhook for notifications (docs/specs/channel-notifications.md). Hosted mode only.
GET
/admin/notifications
const url = 'https://example.com/api/v1/admin/notifications';const options = {method: 'GET'};
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/api/v1/admin/notificationsResponses
Section titled “ Responses ”The webhook, with the last 4 characters of its URL.
Media typeapplication/json
object
configured
required
boolean
kind
string
url_last4
string
from_env
required
SPECCY_NOTIFY_WEBHOOK_URL sets the webhook, so the UI cannot change it.
boolean
Example
{ "kind": "slack"}default
Section titled “default”An error.
Media typeapplication/problem+json
RFC 9457 problem details with a stable code.
object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required
A stable machine-readable error code.
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}