Logo

Command Palette

Search for a command to run...

GET/notifications

Get list of all notifications.

Related Models:NotificationPagination

Request

GET
/notifications
curl -X GET \
  "https://app.cloud66.com/api/3/notifications" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"

Response

{
  "response": [
    {
      "id": 1,
      "user_id": 1,
      "alert_type": 5,
      "alert_value": "backup_ok",
      "stack_id": "5999b763474b0eafa5fafb64bff0ba80",
      "channel": "email",
      "created_at": "2014-08-29T17:21:25Z",
      "updated_at": "2014-08-29T17:21:25Z"
    }
  ],
  "count": 1,
  "pagination": {
    "previous": null,
    "next": null,
    "current": 1,
    "per_page": 30,
    "count": 1,
    "pages": 1
  }
}