ApiAlerts
GET /v1/notifications
Recent notifications (newest first) + unread count.
Recent notifications (newest first) + unread count.
AuthorizationBearer <token>
API key: Authorization: Bearer pk_live_… (mint at polyrank.app/api-keys)
In: header
Query Parameters
limit?integer
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/notifications"{ "notifications": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "title": "string", "body": "string", "data": { "property1": null, "property2": null }, "read_at": "string", "created_at": "string" } ], "unread_count": -9007199254740991}{ "error": "string", "message": "string", "reason": "string", "issues": [ null ], "trace_id": "string"}{ "error": "string", "message": "string", "reason": "string", "issues": [ null ], "trace_id": "string"}{ "error": "string", "message": "string", "reason": "string", "issues": [ null ], "trace_id": "string"}{ "error": "string", "message": "string", "reason": "string", "issues": [ null ], "trace_id": "string"}{ "error": "string", "message": "string", "reason": "string", "issues": [ null ], "trace_id": "string"}{ "error": "string", "message": "string", "reason": "string", "issues": [ null ], "trace_id": "string"}{ "error": "string", "message": "string", "reason": "string", "issues": [ null ], "trace_id": "string"}