Example – Account

  • GET /api/v2/account
    • Returns account information for the present account.
{
  "data": {
    "id": "jeff@ez-tech.com", # a comment 
    "type": "accounts",
    "attributes": {
      "name": "EZ-TECH",
      "address1": "1704 Standish Ave",
      "address2": "",
      "city": "Woodsville",
      "state": "AK",
      "postal_code": "32118",
      "country": "United States",
      "phone": "706-242-2222",
      "email": "jeff@ez-tech.com",
      "website": "https://ez-tech.biz",
      "alerts_config": {
        "enabled": "1",
        "low_signal": {
          "enabled": "1",
          "threshold": "-100",
          "recipient_groups": [
            ""
          ],
          "max_notifications_per_day": "daily",
          "email": "1",
          "sms": "0",
          "details": "Signal < -100 dBm"
        },
        "missed_checkin": {
          "enabled": "1",
          "recipient_groups": [
            ""
          ],
          "max_notifications_per_day": "every_checkin",
          "email": "1",
          "sms": "0",
          "details": "device fails to check in"
        },
        "high_data_usage": {
          "enabled": "1",
          "recipient_groups": [
            ""
          ],
          "max_notifications_per_day": "every_checkin",
          "email": "1",
          "sms": "0",
          "details": "data usage > threshold"
        },
        "failed_actions": {
          "enabled": "1",
          "recipient_groups": [
            ""
          ],
          "max_notifications_per_day": "every_checkin",
          "email": "1",
          "sms": "0",
          "details": "scheduled actions failed to execute"
        },
        "device_reboot": {
          "enabled": "1",
          "recipient_groups": [
            ""
          ],
          "max_notifications_per_day": "every_checkin",
          "email": "1",
          "sms": "0",
          "details": "device rebooted"
        },
        "recipient_groups": {
          "1": {
            "name": "t"
          },
          "2": {
            "name": "rr"
          }
        }
      },
      "enabled": true,
      "confirmed": true
    }
  }
}