GET /groups

DescriptionGet the details for all groups
Resource URLhttps://app.klipfolio.com/api/1.0/groups
Parametersclient_id (string) — show only groups that belong to a specific client
external_id (string) — show only groups that have the specified external_id
full (true/false) — include associations in the listing (members) (Note: Only works when specifying external_id)

Example Request

'GET https://app.klipfolio.com/api/1/groups'

Example Response

{
"meta": {
   "status": 200,
   "success": true
},
"data":{
"groups":[
            {
                "id": "42c1accfbcfd54d44029ee5199805a9y",
                "name": "All Users",
                "description": "All of the users in your company"
            },
            {
                "id": "2e21abc434a5169f9890576ec4d8e333",
                "name": "Internal",
                "description": "For access to client accounts"
            }
       ]
   }
}

GET /groups/{id}

DescriptionGet the details for the specific group.
Permissionsuser.manage
Resource URLhttps://app.klipfolio.com/api/1.0/groups/{id}
Parametersfull (true/false) — include associations in the listing (members)

Example Request

'GET https://app.klipfolio.com/api/1/groups/42c1abcdefgh54d44029ee5199111c2b?full=true'

Example Response

{
  "meta": {
    "success": true,
    "status": 200
  },
  "data": {
    "id": "42c1accfbcfd54d44029ee5199805a9y",
    "external_id": "group_api",
    "company": "Self",
    "name": "APIGroup",
    "description": "Updated group",
    "num_members": 1,
    "members": [
      {
        "id": "2e21abc434a5169f9890576ec4d8e333",
        "full_name": "Jane Doe"
      }
    ]
  }
}


POST /groups

DescriptionCreate a new group.
Permissionsdashboard.library
Resource URLhttps://app.klipfolio.com/api/1.0/groups
ParametersNone.

Example Request

POST https://app.klipfolio.com/api/1/groups -d "{'name':'New Group', 'description':'A brand new group', 'client_id':'1234567890', 'external_id':'group_api'}"

Example Response

{
"meta": {
   "success": true,
   "status": 201,
   "location": "/groups/0932d8270fb840f102d542331f200aca"
}
}

PUT /groups/{id}

DescriptionUpdate the specified group.
Permissionsdashboard.library
Resource URLhttps://app.klipfolio.com/api/1.0/groups/{id}
Parametersname, description, external_id

Example Request

PUT https://app.klipfolio.com/api/1/groups/012345678998745641asfd -d "{description:'This is new'}"

Example Response

{
"meta": {
   "status": 200,
   "success": true
}
}

DELETE /groups/{id}

DescriptionDelete a group.
Permissionsuser.manage
Resource URLhttps://app.klipfolio.com/api/1.0/groups/{id}
ParametersNone.

Example Request

DELETE https://app.klipfolio.com/api/1/groups/0987654321qwer -d
##Example Response

{
"meta": {
      "status": 200,
      "success": true
  }
}