FlipFlip Utility API
Events

List events

Returns all events across your programs.

GET
/v1/events
AuthorizationBearer <token>

API key passed as a Bearer token. Contact your Flip account manager to obtain credentials.

In: header

Response Body

curl -X GET "https://api-utility.flip.energy/v1/events"
[
  {
    "actions": [
      {
        "backup_reserve_percentage": 0,
        "duration_s": 0,
        "enable_grid_import": true,
        "mode": "CHARGE",
        "power_mode": "SETPOINT",
        "setpoint_mode": "EVEN",
        "setpoint_w": 0,
        "starts_at": "2019-08-24T14:15:22Z"
      }
    ],
    "created_at": "2019-08-24T14:15:22Z",
    "duration_s": 0,
    "ends_at": "2019-08-24T14:15:22Z",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "program_id": "string",
    "starts_at": "2019-08-24T14:15:22Z",
    "target_ids": [
      "string"
    ],
    "target_type": "DEVICE",
    "updated_at": "2019-08-24T14:15:22Z"
  }
]
{
  "code": "string",
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ],
  "errors": [
    {
      "message": "string",
      "path": "string"
    }
  ],
  "message": "string",
  "status_code": 0
}