Skip to main content

Overview

Interactive notifications display a message with clickable buttons. Users respond directly in Slack or Teams, and you can track responses via polling or callbacks. Common use cases:
  • Deployment approvals
  • Incident acknowledgement
  • Shift confirmations
  • Survey questions

Endpoint

Request body

Include the response_request field alongside the standard notification fields.
string[]
required
Recipients. Maximum 50.
string
required
The prompt shown above the buttons. Maximum 4000 characters.
string
Your correlation ID. Maximum 200 characters.
object
required
Configures the interactive behavior.

Response

string
"ok" on success.
string
Unique identifier for this notification request. Use it to check status.
string
Only present when callback_url is provided. Use this to verify callback signatures. Store it securely — it is only returned once.

Example: deployment approval

Message appearance

The notification renders as:
  1. Message text — Your message content with markdown formatting
  2. Response buttons — One button per option
  3. Footer — Shows validity period and sender name (e.g., “Valid for 1h. Sent by Alice via Notifications API.”)
After a user responds (in onUserAction mode), the message is updated to show their choice and the buttons are removed.

Disable modes

  • Buttons disable immediately when the user clicks
  • The user’s choice is final
  • Request completes when all users respond or timeout is reached
  • Best for: approvals, acknowledgements — one-shot decisions