Skip to content

The workspace's channel webhook for notifications (docs/specs/channel-notifications.md). Hosted mode only.

GET
/admin/notifications
curl --request GET \
--url https://example.com/api/v1/admin/notifications

The webhook, with the last 4 characters of its URL.

Media typeapplication/json
object
configured
required
boolean
kind
string
Allowed values: slack teams
url_last4
string
from_env
required

SPECCY_NOTIFY_WEBHOOK_URL sets the webhook, so the UI cannot change it.

boolean
Example
{
"kind": "slack"
}

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"
}