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
}List notifications
Permission Required: notifications:read
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
}Requires a connection via the x-connection-id header.
Number of items to return (1-20, default: 10)
1 <= x <= 20Number of items to skip (default: 0)
x >= 0Filter by notification type
subscribed, purchases, tip, post, commented, mentioned, favorited, message Filter notifications related to this user
Was this page helpful?