---
updatedAt: 2026-05-27T18:09:17.000Z
agentTools:
  projectIndex: https://developer.ironcladapp.com/llms.txt
---

# List all Users

Documentation on listing Users via SCIM. 

**OAuth Scope required:** `scim.users.readUsers`

> 📘 Paging (Start Index)
>
> The `startIndex` parameter corresponds to the *index* of the user that should be the first response result. It is not a page number.
>
> You can page through users by incrementing the `startIndex` with the `count` during successive calls. For example, if `count=10`, then `startIndex=1` would return the first 10 users and `startIndex=11` would return the next ten users.
>
> See [SCIM RFC 7644 3.4.2.4](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.4) for background.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Ironclad SCIM API",
    "description": "Documentation for Ironclad's SCIM Implementation.",
    "version": "1",
    "contact": {
      "name": "Ironclad Support",
      "email": "support@ironcladapp.com"
    }
  },
  "servers": [
    {
      "url": "https://ironcladapp.com/scim/v2",
      "description": "Production server"
    },
    {
      "url": "https://eu1.ironcladapp.com/scim/v2",
      "description": "EU Production server"
    },
    {
      "url": "https://demo.ironcladapp.com/scim/v2",
      "description": "Demo server"
    }
  ],
  "components": {
    "schemas": {
      "UserResponseObject": {
        "type": "object",
        "required": [
          "schemas",
          "id"
        ],
        "properties": {
          "schemas": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "urn:ietf:params:scim:schemas:core:2.0:User"
            }
          },
          "userName": {
            "type": "string",
            "description": "The email address of the user (e.g., jdoe@acme.com).",
            "example": "alex.doe@example.com"
          },
          "name": {
            "type": "object",
            "description": "The first name and last name of the user.",
            "properties": {
              "givenName": {
                "type": "string",
                "description": "The first name of the user.",
                "example": "Alex"
              },
              "familyName": {
                "type": "string",
                "description": "The last name of the user.",
                "example": "Doe"
              }
            }
          },
          "title": {
            "type": "string",
            "description": "The user's legal title.",
            "example": "Vice President"
          },
          "id": {
            "type": "string",
            "description": "The user's unique identifier.",
            "example": "6660d37dec0eac3deffb680e"
          },
          "emails": {
            "type": "array",
            "description": "A list of emails associated with the user. The email with type work and primary flag is typically copied from the main email stored in the userName property.",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "The email address value.",
                  "example": "alex.doe@example.com"
                },
                "type": {
                  "type": "string",
                  "description": "The type of email this is. Canonical values include 'work', 'home', and 'other'.",
                  "example": "work"
                },
                "primary": {
                  "type": "boolean",
                  "description": "Whether this is the user's primary email address.",
                  "example": true,
                  "default": true
                }
              }
            }
          },
          "active": {
            "type": "boolean",
            "description": "Whether the user is currently active. A value of `false` means the user has been deactivated — deactivated users are blocked from logging in and are hidden from user-pickers and search results.",
            "example": true,
            "default": true
          },
          "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
            "type": "object",
            "description": "Enterprise User attributes",
            "properties": {
              "department": {
                "type": "string",
                "description": "Which department the user is a part of.",
                "example": "Legal"
              }
            }
          },
          "urn:ietf:params:scim:schemas:extension:ironclad:2.0:User": {
            "type": "object",
            "description": "Ironclad User attributes",
            "properties": {
              "departmentHead": {
                "type": "string",
                "format": "email",
                "description": "The email address (username) of the user's department head.",
                "example": "jane.doe@test.com"
              },
              "provider": {
                "type": "string",
                "enum": [
                  "local",
                  "magicLink",
                  "saml",
                  "google"
                ],
                "description": "The user's authentication method.",
                "example": "local"
              },
              "allowProviderConversion": {
                "type": "boolean",
                "description": "Whether the user is allowed to convert from `local` to `google` provider.",
                "example": false
              }
            }
          },
          "meta": {
            "type": "object",
            "description": "Metadata for the user.",
            "properties": {
              "resourceType": {
                "type": "string",
                "enum": [
                  "User"
                ],
                "description": "Type of the SCIM resource. In this case: 'User'.",
                "example": "User"
              },
              "created": {
                "type": "string",
                "description": "When the User was created.",
                "example": "2025-03-26T18:33:48.336Z"
              },
              "lastModified": {
                "type": "string",
                "description": "When the User was last modified.",
                "example": "2025-03-26T18:33:48.336Z"
              },
              "location": {
                "type": "string",
                "format": "url",
                "description": "The URI of the User resource being returned.",
                "example": "https://ironcladapp.com/scim/v2/Users/67e4488c605caf0d8aa2e5c6"
              }
            }
          }
        }
      }
    },
    "parameters": {
      "XAsUserEmail": {
        "name": "x-as-user-email",
        "in": "header",
        "description": "Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or `x-as-user-id` is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. A token produced from the Authorization Code grant (which is already scoped to a user) may also use this header to act as a different user in the same company, provided the token carries the `identity.users.impersonate` scope and the token's own user has been granted the API User Impersonation permission. A request that sends this header without both never acts as the named user; depending on the company's configuration it either proceeds as the token's own user or is rejected with a 403. More information about [permissions](https://support.ironcladapp.com/hc/en-us/articles/23063233934999-Ironclad-Permissions-Overview).",
        "required": false,
        "schema": {
          "type": "string",
          "example": "jane.doe@test.com"
        }
      },
      "XAsUserId": {
        "name": "x-as-user-id",
        "in": "header",
        "description": "Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or `x-as-user-email` is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. A token produced from the Authorization Code grant (which is already scoped to a user) may also use this header to act as a different user in the same company, provided the token carries the `identity.users.impersonate` scope and the token's own user has been granted the API User Impersonation permission. A request that sends this header without both never acts as the named user; depending on the company's configuration it either proceeds as the token's own user or is rejected with a 403. More information about [permissions](https://support.ironcladapp.com/hc/en-us/articles/23063233934999-Ironclad-Permissions-Overview).",
        "required": false,
        "schema": {
          "type": "string",
          "example": "5f0375c4cdc1927a3c5edcd3"
        }
      },
      "ExcludedAttributes": {
        "name": "excludedAttributes",
        "in": "query",
        "description": "A comma-separated list of attributes to exclude from the resources in the response.",
        "schema": {
          "type": "string"
        }
      },
      "StartIndex": {
        "name": "startIndex",
        "in": "query",
        "description": "The starting index for retrieving this resource. Resources are indexed based on when they were first added to Ironclad.",
        "schema": {
          "type": "integer",
          "format": "int32",
          "default": 1,
          "minimum": 1
        }
      },
      "Count": {
        "name": "count",
        "in": "query",
        "description": "Specifies the maximum number of resources to return in a single page of results.",
        "schema": {
          "type": "integer",
          "format": "int32",
          "default": 25,
          "minimum": 0,
          "maximum": 1000
        }
      }
    },
    "responses": {
      "UsersResponse200": {
        "description": "200 OK",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "schemas": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "example": "urn:ietf:params:scim:api:messages:2.0:ListResponse"
                  }
                },
                "totalResults": {
                  "type": "integer",
                  "description": "The total number of users that match this filter. This may be larger than the number of users in this page, in which case pagination may be used to retrieve the next page of results.",
                  "example": 2,
                  "default": 0
                },
                "Resources": {
                  "type": "array",
                  "description": "The current page of user results.",
                  "items": {
                    "$ref": "#/components/schemas/UserResponseObject"
                  }
                },
                "startIndex": {
                  "type": "integer",
                  "description": "The 1-based index of the first result in the current set of list results.",
                  "example": 1,
                  "default": 0
                },
                "itemsPerPage": {
                  "type": "integer",
                  "description": "Specifies the maximum number of resources that can be returned in a single page of results.",
                  "example": 25,
                  "default": 0
                }
              }
            }
          }
        }
      },
      "UserFilterResponse400": {
        "description": "400 Bad Request",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "example": "urn:ietf:params:scim:api:messages:2.0:Error"
                  }
                },
                "status": {
                  "type": "string",
                  "description": "The HTTP status code expressed as a string.",
                  "example": "400"
                },
                "scimType": {
                  "type": "string",
                  "description": "The SCIM detail error keyword.",
                  "example": "invalidFilter"
                },
                "detail": {
                  "type": "string",
                  "description": "A detailed human-readable message.",
                  "example": "No matching schema for attribute: name,lastName"
                }
              }
            }
          }
        }
      },
      "ForbiddenResponse403": {
        "description": "403 Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "schemas": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "example": "urn:ietf:params:scim:api:messages:2.0:Error"
                  }
                },
                "status": {
                  "type": "string",
                  "description": "The HTTP status code expressed as a string.",
                  "example": "403"
                }
              }
            }
          }
        }
      },
      "ServerErrorResponse500": {
        "description": "500 Internal Server Error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "schemas": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "example": "urn:ietf:params:scim:api:messages:2.0:Error"
                  }
                },
                "status": {
                  "type": "string",
                  "description": "The HTTP status code expressed as a string.",
                  "example": "500"
                },
                "detail": {
                  "type": "string",
                  "description": "A detailed human-readable message.",
                  "example": "Internal server error"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/Users": {
      "get": {
        "summary": "List all Users",
        "description": "Documentation on listing Users via SCIM. \n\n**OAuth Scope required:** `scim.users.readUsers`",
        "operationId": "retrieve-all-users",
        "parameters": [
          {
            "$ref": "#/components/parameters/XAsUserEmail"
          },
          {
            "$ref": "#/components/parameters/XAsUserId"
          },
          {
            "$ref": "#/components/parameters/StartIndex"
          },
          {
            "$ref": "#/components/parameters/Count"
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Filters for identifying subsets of users. Filters must comply with the SCIM protocol's convention. For more details, see SCIM [RFC 7644 Section 3.4.2.2](https://datatracker.ietf.org/doc/html/rfc7644#section-3.4.2.2).",
            "example": "userName eq \"alex.doe@example.com\"",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/ExcludedAttributes"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/UsersResponse200"
          },
          "400": {
            "$ref": "#/components/responses/UserFilterResponse400"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse403"
          },
          "500": {
            "$ref": "#/components/responses/ServerErrorResponse500"
          }
        },
        "tags": [
          "Users"
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Users",
      "description": "Documentation on SCIM Users."
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-languages": [
      "curl",
      "node",
      "ruby",
      "javascript",
      "python"
    ]
  }
}
```