---
agentTools:
  projectIndex: https://developers.uberflip.com/llms.txt
---

# List All User Groups

This endpoint returns a paginated list of all User Groups in an Uberflip account, as well as metadata for the response.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Uberflip API",
    "version": "2.1",
    "description": "Uberflip API",
    "contact": {
      "name": "Uberflip",
      "url": "https://developers.uberflip.com/",
      "email": "contact@uberflip.com"
    }
  },
  "servers": [
    {
      "url": "https://v2.api.uberflip.com"
    }
  ],
  "tags": [
    {
      "name": "USER GROUPS"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/user-groups": {
      "get": {
        "tags": [
          "USER GROUPS"
        ],
        "summary": "List All User Groups",
        "description": "This endpoint returns a paginated list of all User Groups in an Uberflip account, as well as metadata for the response.",
        "operationId": "list-user-groups",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "description": "Filter results by User Group name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specify the field that should be used to sort the returned User Groups. See the table below for accepted `sort` values. Sort order will be either ascending or alphabetical depending on the field specified.\n- `id`: Sort by User Group identifier code\n- `name`: Sort by User Group name\n- `user_count`: Sort by number of users in each User Group\n- `created_at`: Sort by User Group creation date\n- `modified_at`: Sort by date on which User Group was last modified\n",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "$ref": "#/components/parameters/pageParam"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The collection of user groups",
                      "items": {
                        "$ref": "#/components/schemas/listusergroups"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "See: Pagination"
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "value": {
                      "data": [
                        {
                          "id": 546732,
                          "code": "ALL_USERS",
                          "name": "All Users",
                          "description": "All users in your account are automatically added to this group.",
                          "user_count": 11,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 1,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 546735,
                          "code": "ACCOUNT_ADMINISTRATORS",
                          "name": "Account Administrators",
                          "description": "Users in this group automatically receive all global permissions and licenses.",
                          "user_count": 2,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 1,
                          "lock_grant_revoke_licenses": 1,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 546738,
                          "code": "CONTENT_MANAGERS",
                          "name": "Content Managers",
                          "description": "Access to all Uberflip functionality, but does not have the ability to add or manage users.",
                          "user_count": 3,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 546741,
                          "code": "AUTHORS",
                          "name": "Authors",
                          "description": "Ability to create new drafts in Blog Streams and edit their own content, but without the ability to publish.",
                          "user_count": 1,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 546744,
                          "code": "DEVELOPERS_DESIGNERS",
                          "name": "Developers / Designers",
                          "description": "Access to the Appearance section of Hubs, Flipbooks, embed features, and the ability to manage the overall look and feel.",
                          "user_count": 0,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 546747,
                          "code": "DEMAND_GENERATION",
                          "name": "Demand Generation",
                          "description": "Access to the lead generation tools including calls-to-action, marketing automation integrations and metrics.",
                          "user_count": 0,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 546750,
                          "code": "ANALYSTS",
                          "name": "Analysts",
                          "description": "Access to the Metrics section of your Uberflip account.",
                          "user_count": 0,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 546753,
                          "code": "SALES_REPS",
                          "name": "Sales Reps",
                          "description": "Read-only access to the Hubs management section, content score, and the embed features.",
                          "user_count": 1,
                          "lock_update": 1,
                          "lock_delete": 1,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-04T12:36:39-0400",
                          "modified_at": "2017-07-04T12:36:39-0400"
                        },
                        {
                          "id": 682187,
                          "code": null,
                          "name": "New Group 1",
                          "description": null,
                          "user_count": 1,
                          "lock_update": 0,
                          "lock_delete": 0,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-30T07:24:27-0400",
                          "modified_at": "2017-07-30T07:24:27-0400"
                        },
                        {
                          "id": 682189,
                          "code": null,
                          "name": "New Group 2",
                          "description": null,
                          "user_count": 0,
                          "lock_update": 0,
                          "lock_delete": 0,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2017-07-30T07:24:27-0400",
                          "modified_at": "2017-07-30T07:24:27-0400"
                        },
                        {
                          "id": 1189337,
                          "code": null,
                          "name": "New Group 3",
                          "description": "",
                          "user_count": 1,
                          "lock_update": 0,
                          "lock_delete": 0,
                          "lock_grant_revoke_global_permissions": 0,
                          "lock_grant_revoke_licenses": 0,
                          "lock_add_remove_users": 0,
                          "created_at": "2018-10-03T10:35:54-0400",
                          "modified_at": "2018-10-03T10:35:54-0400"
                        }
                      ],
                      "meta": {
                        "count": 11,
                        "limit": 25,
                        "total_pages": 1
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Access token from /authorize endpoint"
      }
    },
    "parameters": {
      "limitParam": {
        "name": "limit",
        "in": "query",
        "description": "Set the number of results returned per [page](https://developers.uberflip.com/reference/pagination). Defaults to 25 if not set.",
        "schema": {
          "type": "integer",
          "default": 25,
          "minimum": 1,
          "maximum": 100
        }
      },
      "pageParam": {
        "name": "page",
        "in": "query",
        "description": "Specify the [page](https://developers.uberflip.com/reference/pagination) of results to be returned. Defaults to 1 if not set.",
        "schema": {
          "type": "integer",
          "default": 1,
          "minimum": 1
        }
      }
    },
    "schemas": {
      "listusergroups": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The user group identifier"
          },
          "code": {
            "type": "string",
            "description": "The user group code",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "The user group name"
          },
          "description": {
            "type": "string",
            "description": "The user group description",
            "nullable": true
          },
          "user_count": {
            "type": "integer",
            "description": "The number of users included in the user group"
          },
          "lock_update": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1,
            "description": "The user group cannot be updated if this lock is set"
          },
          "lock_delete": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1,
            "description": "The user group cannot be deleted if this lock is set"
          },
          "lock_grant_revoke_global_permissions": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "lock_grant_revoke_licenses": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "lock_add_remove_users": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1,
            "description": "Users cannot be removed from this user group if this lock is set"
          },
          "created_at": {
            "type": "string",
            "description": "The user group creation time",
            "format": "date-time"
          },
          "modified_at": {
            "type": "string",
            "description": "The user group last updated",
            "format": "date-time"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 151,
      "2": 113,
      "3": 115,
      "4": 165,
      "5": 253,
      "6": 73,
      "7": 0,
      "8": 113,
      "9": 158,
      "10": 39,
      "11": 103
    }
  }
}
```