Skip to content

Alert channels

An alert channel lets any system (a monitoring tool, the company website’s contact form, an ERP, a script) raise an alert in Evulora. The alert reaches the right sectors, job roles and people, in the bell, by email, in the sector’s alerts block or on the wall, and stays open until someone, or the sending system, resolves it. The sender needs no API key: each channel has its own secret address.

Create a channel

Channels are created in the app by the account owner or by whoever is in charge of Integrations, under Settings › Technical › Integrations, in the card “Receive alerts from other systems”. Choose “New channel”, start from a template, pick who receives the alerts, then copy the channel’s address and paste it into the other system. When the first delivery arrives, the app shows its fields so you can build the message. “Send a sample” lets you try it without the other system.

Send an alert

POST to the channel’s secret address. The key, which starts with ac_, is part of the address, so no other authentication is needed. Treat the whole address like a password.

curl -X POST https://api.evulora.com/v1/hooks/ac_YOUR_CHANNEL_KEY \
  -H "Content-Type: application/json" \
  -d '{"title": "Disk almost full on db-01", "message": "92% used", "url": "https://status.example.com/db-01", "id": "db-01-disk", "severity": "warning"}'

If the other system asks for “an address and a token”, use https://api.evulora.com/v1/hooks and send the channel key as a Bearer token:

curl -X POST https://api.evulora.com/v1/hooks \
  -H "Authorization: Bearer ac_YOUR_CHANNEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Disk almost full on db-01"}'

Channel addresses work only at https://api.evulora.com/v1. If the address leaks, change the key in the channel (“Change key”): the old address stops working at once.

What you can send

Send what your system already produces. The channel reads:

  • JSON of any shape. A list at the top level is read as items, and a single value as value.
  • A form (application/x-www-form-urlencoded or multipart/form-data).
  • Plain text, read as text.
  • No body at all: the query string parameters.
  • The common message-queue push envelope, {"message": {"data": "<base64 JSON>", "attributes": {}, "messageId": "…"}, "subscription": "…"}, is opened for you: the fields come from the decoded data, and the attributes go to _attributes.

The message template

Each channel turns a delivery into an alert with a template, built in the app under “Build the message”. It has five fields: Title, Text, Link, Identifier and Severity. Each one mixes fixed text with placeholders that read the delivery:

  • {{title}} reads a field; dots go deeper, as in {{host.name}} or {{items.0.id}}. A missing field becomes empty, and a line whose placeholders are all empty is left out.
  • Filters: {{rating|stars}} turns ratings such as "FOUR" into a number; {{code|upper}} writes in capitals.
  • The Link is used only when it renders a valid URL.
  • Severity is info, warning or urgent; common words are understood too (low, notice, medium, high, critical, error). Without it, the channel’s default severity applies.
  • Without a template, the alert takes the channel’s name as its title and a summary of the first fields as its text. The app suggests a template from common names such as title, message, url and id.

For the delivery in the first example, this template

Title       {{title}}
Text        {{message}}
Link        {{url}}
Identifier  {{id}}
Severity    {{severity}}

opens a warning titled “Disk almost full on db-01”, with “92% used” as its text and a link to the status page.

Routing

The channel’s default route says who receives the alert (sectors, departments, job roles, people) and how: in the bell, by email, in the sector’s alerts block and on the sector’s wall. Optional rules (“Conditions and routes”) look at the delivery from top to bottom: the first one that matches sends the alert somewhere else or ignores it. A rule compares a field with is, contains, greater than, less than or equal to or checks that it exists.

Choosing the route in the delivery

When the channel allows it (“The sender can choose the sector”), the sender can pick the sectors and the severity with an "evulora" key. Sectors are matched by their address name (slug), name or id; when none matches, the channel’s route applies. Channels that do not allow it ignore the key.

{
  "title": "Store 12 is offline",
  "evulora": { "sectors": ["south-region"], "severity": "urgent" }
}

De-duplication

If your system retries, send an Idempotency-Key (or X-Event-Id) header with an id of the event, up to 191 characters. The same value on the same channel is received once; repeats answer 200 with the outcome duplicate and the original alert. Without the header, every delivery counts.

curl -X POST https://api.evulora.com/v1/hooks/ac_YOUR_CHANNEL_KEY \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: evt_20261025_0042" \
  -d '{"title": "Payment 0042 failed"}'

Update and resolve

Give alerts an identifier, either through the template’s Identifier field or with a top-level identifier field. A new delivery with the identifier of an open alert updates it instead of opening another one, and nobody is notified again. If that alert was already resolved, it opens again and people are notified.

To resolve it from your system, send the same identifier with "resolved": true (or "status": "resolved"):

curl -X POST https://api.evulora.com/v1/hooks/ac_YOUR_CHANNEL_KEY \
  -H "Content-Type: application/json" \
  -d '{"id": "db-01-disk", "resolved": true}'

or post the same fields to the channel’s resolve address:

curl -X POST https://api.evulora.com/v1/hooks/ac_YOUR_CHANNEL_KEY/resolve \
  -H "Content-Type: application/json" \
  -d '{"id": "db-01-disk"}'

With the Bearer form (POST /hooks), resolve with "resolved": true. People on the route can also mark the alert as resolved in the app.

Limits

Each channel accepts up to 60 deliveries per minute unless its limit was changed; the channel page in the app shows the current one. Over it, the channel answers 429 with the code rate_limited and a Retry-After header in seconds. Prefer one alert with an identifier that you update over many separate ones.

Responses

Every accepted delivery answers with what happened, the alert and the entry in the channel’s history:

{
  "data": { "outcome": "created", "alert_id": 318, "receipt_id": 9021 }
}
Values of data.outcome
data.outcome Status Meaning
created 201 A new alert was opened and the people on its route were notified. A resolved alert with the same identifier is reopened, and also answers created.
updated 200 An open alert with the same identifier was updated (title, text, severity, route). Nobody is notified again.
resolved 200 The alert with this identifier was resolved.
ignored 200 A rule of the channel said to ignore this delivery. It is still kept in the channel’s history.
duplicate 200 This Idempotency-Key or X-Event-Id was already received on this channel. Nothing new happened.
error 422 The delivery could not be processed, for example there is no alert with that identifier to resolve. message explains why. Errors are not remembered for de-duplication, so you can retry.

Other answers:

  • 404 not_found: the key does not exist, the channel is turned off or its key was changed.
  • 401: POST /hooks without a channel key in the Authorization header.
  • 401 wrong_address: the delivery went to the web app instead of https://api.evulora.com/v1.
  • 429 rate_limited: see Limits.

Every delivery and its outcome also appear in the channel’s history in the app. To follow alerts from your own system, subscribe to the alert.received and alert.resolved webhook events.