Skip to main content
GET
/
v2
/
access
/
self
/
notifications
List notifications
curl --request GET \
  --url https://api-next.ofauth.com/v2/access/self/notifications \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>'
{
  "list": [
    {
      "id": 123,
      "type": "<string>",
      "subType": "<string>",
      "createdAt": "<string>",
      "isRead": true,
      "text": "<string>",
      "replacePairs": {},
      "canGoToProfile": true,
      "userId": 123
    }
  ],
  "hasMore": true
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Query Parameters

limit
integer
default:10

Number of items to return (1-20, default: 10)

Required range: 1 <= x <= 20
offset
integer | null
default:0

Number of items to skip (default: 0)

Required range: x >= 0
type
enum<string>

Filter by notification type

Available options:
subscribed,
purchases,
tip,
post,
commented,
mentioned,
favorited,
message

Filter notifications related to this user

Response

Successful response

list
object[]
required
hasMore
boolean
required