FlipFlip Utility API
Groups

Create group

Create a group within a program. You provide the group ID — use any identifier from your system.

POST
/v1/programs/{programId}/groups
AuthorizationBearer <token>

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

In: header

Path Parameters

programIdstring
idstring

Your identifier for this group. Must contain only letters, numbers, hyphens, and underscores.

Match^[\w-]+$
Length1 <= length
namestring

Response Body

curl -X POST "https://api-utility.flip.energy/v1/programs/string/groups" \  -H "Content-Type: application/json" \  -d '{    "id": "zone-a",    "name": "Zone A"  }'
{
  "id": "my-group",
  "name": "My Group"
}
{
  "code": "string",
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ],
  "errors": [
    {
      "message": "string",
      "path": "string"
    }
  ],
  "message": "string",
  "status_code": 0
}
{
  "code": "string",
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ],
  "errors": [
    {
      "message": "string",
      "path": "string"
    }
  ],
  "message": "string",
  "status_code": 0
}
{
  "code": "string",
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ],
  "errors": [
    {
      "message": "string",
      "path": "string"
    }
  ],
  "message": "string",
  "status_code": 0
}