Logstreem
Create a notifier
POST

Create a notifier

Add a Slack channel, PagerDuty service, webhook or email list.

The config shape depends on type — see notifiers.

POST/v1/notifiers

Body parameters

namestringrequired

Shown when routing a monitor.

typeenumrequired

Destination kind.

slackpagerdutyopsgeniewebhookemailteamsdiscord

configobjectrequired

Type-specific settings.

urlstring

Slack, Teams, Discord and webhook.

integration_keystring

PagerDuty and Opsgenie.

addressesarray

Email.

signing_secretstring

Webhook 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