Skip to main content
GET
/
notifications
List notifications
curl --request GET \
  --url https://api.closebot.com/notifications \
  --header 'X-CB-KEY: <api-key>'
[
  {
    "id": "<string>",
    "kind": "<string>",
    "title": "<string>",
    "body": "<string>",
    "viewed": true,
    "timestamp": "2023-11-07T05:31:56Z",
    "metadata": {
      "aiProviderId": "<string>",
      "sourceId": "<string>",
      "botId": "<string>",
      "rawAiError": "<string>"
    }
  }
]

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Response

Error

id
string | null
kind
string | null
title
string | null
body
string | null
viewed
boolean
timestamp
string<date-time>
metadata
object