Skip to Content
Indexify
Account

Get paginated notifications

POST
/api/notifications.php?action=get_notifications

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_notifications"
Value in"get_notifications"

Request Body

application/json
  1. body
page?integer
Range1 <= value
Default1
limit?integer
Range1 <= value <= 100
Default20
auto_cleanup?boolean

When true, old notifications are automatically purged.

Defaultfalse

Response Body

Paginated notifications list.

application/json
  1. response
notifications?array<>
pagination?
Example Request
curl -X POST 'https://api.indexify.finance/api/notifications.php?action=get_notifications' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "notifications": [    {      "id": 0,      "origin": "stack_follow",      "type": "transaction",      "content": "string",      "read": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "metadata": {}    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total_count": 0,    "total_pages": 0  }}