Create a notifier
Create a notifier
Add a Slack channel, PagerDuty service, webhook or email list.
The config shape depends on type — see notifiers.
POST
/v1/notifiersBody parameters
namestringrequiredShown when routing a monitor.
typeenumrequiredDestination kind.
slackpagerdutyopsgeniewebhookemailteamsdiscord
configobjectrequiredType-specific settings.
urlstringSlack, Teams, Discord and webhook.
integration_keystringPagerDuty and Opsgenie.
addressesarrayEmail.
signing_secretstringWebhook only — returned once at creation.
curl -X POST https://api.logstreem.com/v1/notifiers \
-H "Authorization: Bearer $LOGSTREEM_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"On-call","type":"pagerduty","config":{"integration_key":"R0234ABCDEF"}}'Responses
201Created
{
"object": "notifier",
"id": "ntf_1d7e4b3a09c2f856d4a1",
"name": "On-call",
"type": "pagerduty",
"target": "Platform — Primary",
"created_at": "2026-09-06T09:14:22.114Z"
}401Unauthorized
{
"error": {
"type": "authentication_error",
"code": "missing_token",
"message": "No API token provided.",
"doc_url": "https://logstreem.com/docs/errors#missing_token",
"request_id": "req_9f3c2a7b41de08c5b2e6"
}
}Try itsandbox