Skip to main content
POST
Notify you

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Body

application/json
message
string
required

What the person needs to know, in plain words. Say what happened and what, if anything, they should do.

Required string length: 1 - 2000
title
string

A short headline. Defaults to the first line of the message.

Required string length: 1 - 120

An https link to where the person acts or reads more.

Maximum string length: 2000
level
enum<string>
Available options:
interrupt,
inbox
via
default:auto

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.

Allowed value: "auto"
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.

Required string length: 1 - 128

Response

Stored, and delivered where it could be.

result
enum<string>
required

duplicate: the same message or key went to this person in the last day, so nothing was sent again.

Available options:
delivered,
duplicate
notification
object
required