---
updatedAt: 2025-06-04T20:31:17.000Z
agentTools:
  projectIndex: https://developer-docs.datamotion.com/v2/llms.txt
---

# Get UserTypes

This method provides a list of UserTypes in your company, as well as basic password requirements for these UserTypes. Please note that this will only return the user types from the company the admin is in.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "secure-admin-api",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://sandbox.datamotion.com/Remote/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/Account/GetUserTypes": {
      "get": {
        "summary": "Get UserTypes",
        "description": "This method provides a list of UserTypes in your company, as well as basic password requirements for these UserTypes. Please note that this will only return the user types from the company the admin is in.",
        "operationId": "get-usertypes",
        "parameters": [
          {
            "name": "X-Session-Key",
            "in": "header",
            "description": "The X-Session-Key header must be a valid Session Key retrieved from the Get A Session Key function.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n    {\n        \"TypeId\": 252,\n        \"Description\": \"Certified Gold Admin\",\n        \"MinimumPasswordLength\": 6,\n        \"RequiredPasswordCategories\": 3,\n        \"Categories\": \n        [\n            \"Lower Case\",\n            \"Upper Case\",\n            \"Numbers\",\n            \"Symbols\"\n        ]\n    },\n    {\n        \"TypeId\": 250,\n        \"Description\": \"Full User\",\n        \"MinimumPasswordLength\": 6,\n        \"RequiredPasswordCategories\": 1,\n        \"Categories\": \n        [\n            \"Lower Case\",\n            \"Upper Case\",\n            \"Numbers\",\n            \"Symbols\"\n        ]\n    },\n    {\n        \"TypeId\": 251,\n        \"Description\": \"Secure Contact Us\",\n        \"MinimumPasswordLength\": 6,\n        \"RequiredPasswordCategories\": 3,\n        \"Categories\": \n        [\n            \"Lower Case\",\n            \"Upper Case\",\n            \"Numbers\",\n            \"Symbols\"\n        ]\n    }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "TypeId": {
                        "type": "integer",
                        "example": 252,
                        "default": 0
                      },
                      "Description": {
                        "type": "string",
                        "example": "Certified Gold Admin"
                      },
                      "MinimumPasswordLength": {
                        "type": "integer",
                        "example": 6,
                        "default": 0
                      },
                      "RequiredPasswordCategories": {
                        "type": "integer",
                        "example": 3,
                        "default": 0
                      },
                      "Categories": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "example": "Lower Case"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```