---
title: "Notify you"
method: POST
path: "/v1/notifications"
tags: ["Notifications"]
---

# Notify you

`POST /v1/notifications`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/notifications`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Send the person this run is for a short message. It always lands in their OpenWork notification list. Use it when they asked to be told, or when something needs them: a result they are waiting for, a decision, a failure. Staying quiet is the normal outcome; don't notify for routine progress. level interrupt also shows a desktop banner, or a Slack DM or email when no desktop is online. level inbox (the default) only adds it to the list. via names destinations (desktop, slack, email) when the person asked for them, such as "notify me on Slack"; they are used right away. Each delivery says sent, queued (the desktop shows it when it next checks) or skipped with a reason, such as slack_app_not_installed or member_not_linked; tell the person instead of retrying. Only the caller can be notified. Limits: 10 a minute, 200 a day, 30 interrupts a day; the same message or key is sent once a day.

## Request body

- SendNotificationRequest
  - `message` string, required: What the person needs to know, in plain words. Say what happened and what, if anything, they should do.
  - `title` string: A short headline. Defaults to the first line of the message.
  - `link` string, uri: An https link to where the person acts or reads more.
  - `level` 'interrupt' | 'inbox'
  - `via` union: auto lets OpenWork choose. Name destinations only when the person asked for them, such as "notify me on Slack": they are then used right away, whatever the level.
    - 'auto'
    - NotificationDestination[]
  - `key` string: A stable name for this message, such as build:main. A second message with the same key within a day is not delivered again.

## Response `200`

Stored, and delivered where it could be.

- SendNotificationResponse
  - `result` 'delivered' | 'duplicate', required: duplicate: the same message or key went to this person in the last day, so nothing was sent again.
  - `notification` Notification, required
    - `id` string, required
    - `title` string, required
    - `message` string, required
    - `link` string, nullable, required
    - `level` 'interrupt' | 'inbox', required
    - `source` 'tool' | 'api', required: tool: a chat, Automation or agent through OpenWork Connect. api: the CLI or API.
    - `deliveries` NotificationDelivery[], required
      - `destination` 'desktop' | 'slack' | 'email', required
      - `status` 'sent' | 'queued' | 'skipped', required
      - `reason` string, nullable, required: Why it was queued or skipped: desktop_offline, slack_app_not_installed, member_not_linked, slack_error, email_unavailable, interrupt_budget.
    - `createdAt` string, date-time, required

## Other responses

- `401`: Sign in required.
- `404`: Notifications are off for this organization.
- `429`: Too many notifications. Nothing was stored.

## Changes

- **2026-12-02** `ea302b5b8d52`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/notifications/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
