Skip to Content
Indexify
Account

Get unread notification count

POST
/api/notifications.php?action=get_unread_count

Authorization

ApiKeyAuth
headerX-API-KEY<token>

API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.

Query Parameters

action*"get_unread_count"
Value in"get_unread_count"

Response Body

Unread count.

application/json
  1. response
unread_count*integer
Example Request
curl -X POST 'https://api.indexify.finance/api/notifications.php?action=get_unread_count'
Example Response
{  "unread_count": 7}