Browse docs
On this page

Creating an alert from an external system

POST an incident onto the Incidents board from any monitor, CI job, or script, using an alert API key.

Anything that can make an HTTP request can open an incident in your workspace: a monitoring tool, a CI pipeline, a security scanner, a cron job, a one-line curl. There is no integration to install and no per-tool adapter to wait for - one endpoint, one credential.

1. Create an alert API key

Open Incidents under Alerts, switch to the board view, and click Alert API keys. Name the key after whatever will be sending incidents ("Datadog webhook", "nightly backup job") and create it.

The secret is shown exactly once. It is stored as a SHA-256 digest, so it cannot be shown again or regenerated - if you lose it, revoke the key and create a new one.

An alert API key is a ticket_ingest-scoped API key. It is write-only and is accepted by exactly two routes, both listed below; presented anywhere else it is refused with 403. It authenticates as a data input rather than as a person, so it cannot read a single incident, log line, or setting back - which is what makes it safe to paste into a third-party tool's webhook configuration.

2. Open an incident

Shell
curl -X POST https://api.obistack.com/v1/tickets/ingest \
  -H "Authorization: Bearer $OBISTACK_ALERT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Nightly backup job failed", "priority": "p2"}'

Request body

FieldTypeRequiredDescription
titlestringYesIncident title. 300 characters or fewer.
descriptionstringNoBody text.
priorityenumNop1, p2, p3 (default), p4.
dedup_keystringNo, but strongly recommendedIf a non-resolved incident with this key exists, this request updates it instead of opening a second one.
sourceobjectNo{ "system": string, "url": string } - shown as a link back to the system that raised it.
labelsobjectNoKey-value pairs.
linksarrayNo[{ "label": string, "url": string }].
custom_fieldsobjectNoOpaque key-value pairs, up to 50 entries, rendered as a table on the incident.

Response

201 Created for a new incident, 200 OK when an existing incident with the same dedup_key was updated instead.

JSON
{
  "data": {
    "id": "tck_01J9INGEST01",
    "status": "created"
  }
}

status is created or deduplicated. The response deliberately carries nothing about where the incident was placed: a workspace has exactly one board, so board and column are not decisions the caller makes or needs to branch on. Follow the id if you want the incident itself.

3. Close the loop when the condition clears

A system that knows its own alert has recovered can resolve the incident it opened, without ever having stored our id:

Shell
curl -X PATCH https://api.obistack.com/v1/tickets/ingest/by-dedup-key/backup-job-2026-07-20 \
  -H "Authorization: Bearer $OBISTACK_ALERT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status_category": "done", "resolution_note": "Backup completed on retry."}'

status_category is one of the board's status categories; resolving to done also moves the card into the board's done column, exactly as dragging it would.

4. Deduplication

Send a stable dedup_key - typically <system>:<monitor>:<window> - and repeated firings of the same condition collapse into one incident rather than filling the board with copies. If the matching incident is already resolved, a new one is opened: that is a recurrence, not a duplicate.

Without a dedup_key, every request opens a new incident. That is the right choice only for genuinely distinct one-off events.

5. Limits

LimitValue
Requests per alert API key300 req/min (burst 600)
Payload size64 KB
custom_fields entries50

Exceeding the rate limit returns 429 with a Retry-After header. Nothing is silently dropped.

Tenant Isolation & Data Boundaries

Which workspace an incident lands in is decided by the key alone, resolved server-side from a SHA-256 digest of the presented secret - never by anything in the request body. A board, workspace, or tenant field in the payload is ignored, not honoured. Revocation takes effect on the very next request, with no propagation delay. See Tenant Isolation for the full model.