Notifications

Watch for new inbox notifications

Changed on
get/api/v2/notifications/inbox/watch

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/notifications/inbox/watch
  • Auth
    API key in header Coder-Session-Token

Query parameters

targetsstring

Comma-separated list of target IDs to filter notifications

templatesstring

Comma-separated list of template IDs to filter notifications

read_statusstring

Filter notifications by read status. Possible values: read, unread, all

format'plaintext' | 'markdown'

Define the output format for notifications title and body.

Response

OK

unread_countinteger

Changes