Notify you
Changed onSend 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
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
What the person needs to know, in plain words. Say what happened and what, if anything, they should do.
A short headline. Defaults to the first line of the message.
An https link to where the person acts or reads more.
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.
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
Stored, and delivered where it could be.
duplicate: the same message or key went to this person in the last day, so nothing was sent again.
Changes
- info
endpoint added
- info