GET
/
notifications
curl --request GET \
  --url 'https://app.teable.io/api/notifications?notifyStates=SOME_STRING_VALUE&cursor=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "notifications": [
    {
      "id": "<string>",
      "notifyIcon": {
        "iconUrl": "<string>"
      },
      "notifyType": "system",
      "url": "<string>",
      "message": "<string>",
      "isRead": true,
      "createdTime": "<string>"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

notifyStates
enum<string>
required
Available options:
unread,
read
cursor
string | null

Response

200 - application/json
Successful response, return user notification list.
notifications
object[]
required
nextCursor
string | null