Notification routes implementation
Development Documentation
You're viewing documentation for unreleased features from the main branch. For production use, see the latest stable version (v1.1.x).
Note: OpenAPI documentation for these endpoints can be found in the openapi.rs file
Lists all notifications with pagination support.
AuthorizationBearer <token>
In: header
Query Parameters
page?integer
Page number for pagination (starts at 1)
Range
0 <= valueper_page?integer
Number of items per page (default: 10)
Range
0 <= valueResponse Body
curl -X GET "https://loading/api/v1/notifications?page=0&per_page=0"{
  "data": [
    {
      "has_signing_key": true,
      "id": "string",
      "type": "webhook",
      "url": "string"
    }
  ],
  "error": "string",
  "metadata": {
    "logs": [
      {
        "level": "log",
        "message": "string"
      }
    ],
    "traces": [
      null
    ]
  },
  "pagination": {
    "current_page": 0,
    "per_page": 0,
    "total_items": 0
  },
  "success": true
}{
  "data": null,
  "message": "Bad Request",
  "success": false
}{
  "data": null,
  "message": "Unauthorized",
  "success": false
}{
  "data": null,
  "message": "Internal Server Error",
  "success": false
}