Skip to main content
GET
/
notifications
{
  "data": [
    {
      "actor": {
        "id": 123,
        "username": "<string>",
        "name": "<string>",
        "image": "<string>",
        "bio": "<string>",
        "verifiedAt": "2023-11-07T05:31:56Z"
      },
      "post": {
        "snowflakeId": "<string>",
        "id": 123,
        "content": "<string>",
        "type": "post",
        "originalId": 123,
        "parentId": 123,
        "repliesCount": 123,
        "repostsCount": 123,
        "reposts": [
          123
        ]
      },
      "parent": {
        "id": 123,
        "snowflakeId": "<string>",
        "content": "<string>",
        "userId": 123,
        "type": "quote",
        "createdAt": "2023-11-07T05:31:56Z"
      },
      "id": 123,
      "type": "quote",
      "createdAt": "2023-11-07T05:31:56Z",
      "read": true
    }
  ],
  "totalPages": 123
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-KEY
string
required

API key required for authentication

Query Parameters

cursor
integer<int64>

Cursor for pagination (last ID of the page)

size
integer<int32>
default:20

Number of notifications to fetch per page.

Response

A list of notifications

data
object[]
totalPages
integer