curl --request GET \
--url https://api-next.ofauth.com/v2/access/subscriptions/count \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"subscriptions": {
"active": 123,
"muted": 123,
"restricted": 123,
"expired": 123,
"blocked": 123,
"attention": 123,
"all": 123
},
"subscribers": {
"active": 123,
"muted": 123,
"restricted": 123,
"expired": 123,
"blocked": 123,
"all": 123,
"activeOnline": 123
},
"bookmarks": 123
}Get counts of subscriptions and subscribers by status
Permission Required: subscriptions:read
curl --request GET \
--url https://api-next.ofauth.com/v2/access/subscriptions/count \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"subscriptions": {
"active": 123,
"muted": 123,
"restricted": 123,
"expired": 123,
"blocked": 123,
"attention": 123,
"all": 123
},
"subscribers": {
"active": 123,
"muted": 123,
"restricted": 123,
"expired": 123,
"blocked": 123,
"all": 123,
"activeOnline": 123
},
"bookmarks": 123
}Requires a connection via the x-connection-id header.
Was this page helpful?