---
updatedAt: 2026-05-27T05:24:21.000Z
agentTools:
  projectIndex: https://developers.toriihq.com/llms.txt
---

# List application users


<p><ul><li>Rate limit: 600 requests per minute</li></ul></p>

# OpenAPI definition

```json
{
  "servers": [
    {
      "url": "https://api.toriihq.com/v1.0"
    }
  ],
  "info": {
    "title": "Torii API Documentation",
    "version": "v1.0",
    "description": "The Torii API provides an easy way to integrate your data in Torii with any external system. The API closely follows REST semantics, uses JSON to encode objects, and relies on standard HTTP codes to signal operation outcomes. Torii APIs consist of both proprietary and SCIM 2.0 APIs."
  },
  "x-readme": {
    "explorer-enabled": true
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Applications Users",
      "description": "This is an object representing the connection between an application and the users associated with it. An application may have a list of users."
    }
  ],
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    },
    "schemas": {
      "status": {
        "type": "string",
        "description": "The user status to filter by",
        "example": "active",
        "enum": [
          "deleted",
          "active",
          "managed"
        ]
      },
      "roles": {
        "type": "array",
        "example": [
          "org admin",
          "site admin"
        ],
        "items": {
          "type": "string"
        }
      },
      "Model1": {
        "type": "object"
      },
      "licenses": {
        "type": "array",
        "example": [],
        "nullable": true,
        "items": {
          "$ref": "#/components/schemas/Model1"
        }
      },
      "lifecycleStatus": {
        "type": "string",
        "example": "active",
        "enum": [
          "active",
          "offboarding",
          "offboarded"
        ]
      },
      "Model80": {
        "type": "object",
        "properties": {
          "score": {
            "type": "number",
            "example": 1
          },
          "score60": {
            "type": "number",
            "example": 1
          },
          "score90": {
            "type": "number",
            "example": 1
          },
          "email": {
            "type": "string",
            "description": "Email address",
            "example": "tony@stark.com",
            "nullable": true,
            "x-convert": {
              "case": "lower"
            }
          },
          "creationTime": {
            "type": "string",
            "format": "date-time",
            "example": "1970-01-01T00:00:00Z"
          },
          "lastVisitTime": {
            "type": "string",
            "format": "date-time",
            "example": "1970-01-01T00:00:00Z",
            "nullable": true
          },
          "appName": {
            "type": "string",
            "example": "Salesforce",
            "maxLength": 255
          },
          "firstName": {
            "type": "string",
            "example": "Tony",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "example": "Stark",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "example": "Tony Stark",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/status"
          },
          "idExternalUser": {
            "type": "string",
            "example": "1",
            "nullable": true
          },
          "idUser": {
            "type": "integer",
            "description": "Unique user identifier",
            "example": 1000,
            "minimum": 1
          },
          "sources": {
            "example": [
              "okta"
            ],
            "nullable": true,
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "nullable": true
                }
              }
            ]
          },
          "isUserRemovedFromApp": {
            "type": "boolean",
            "example": true
          },
          "isOwnerNotifiedToRemoveUser": {
            "type": "boolean",
            "example": true
          },
          "isNewUserInApp": {
            "type": "boolean",
            "example": true
          },
          "role": {
            "type": "string",
            "example": "",
            "nullable": true
          },
          "roles": {
            "$ref": "#/components/schemas/roles"
          },
          "externalStatus": {
            "type": "string",
            "example": "Active",
            "nullable": true
          },
          "isExternal": {
            "type": "boolean",
            "example": true,
            "nullable": true
          },
          "isDeletedInIdentitySources": {
            "type": "boolean",
            "example": true,
            "nullable": true
          },
          "identitySourcesDeletionTime": {
            "type": "string",
            "format": "date-time",
            "example": "1970-01-01T00:00:00Z",
            "nullable": true
          },
          "isOffboardingIgnored": {
            "type": "boolean",
            "example": true
          },
          "numberOfInactiveLicenses": {
            "type": "integer",
            "example": 0
          },
          "photoUrl": {
            "type": "string",
            "example": "www.photo.com",
            "nullable": true
          },
          "licenses": {
            "$ref": "#/components/schemas/licenses"
          },
          "isSupportLastVisit": {
            "type": "boolean",
            "example": true
          },
          "ignoreAccount": {
            "type": "boolean",
            "example": true
          },
          "appAccountName": {
            "type": "string",
            "example": "Account",
            "nullable": true
          },
          "idAppAccount": {
            "type": "integer",
            "example": 1
          },
          "creationTimeInApp": {
            "type": "string",
            "format": "date-time",
            "example": "1970-01-01T00:00:00Z",
            "nullable": true
          },
          "lifecycleStatus": {
            "$ref": "#/components/schemas/lifecycleStatus"
          },
          "annualCost": {
            "type": "number",
            "example": 100,
            "nullable": true
          },
          "annualCostConverted": {
            "type": "number",
            "example": 200,
            "nullable": true
          }
        }
      },
      "users": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Model80"
        }
      },
      "ApplicationUsers": {
        "type": "object",
        "description": "Application Users",
        "properties": {
          "users": {
            "$ref": "#/components/schemas/users"
          },
          "count": {
            "type": "integer",
            "example": 100
          },
          "total": {
            "type": "integer",
            "example": 1000
          },
          "nextCursor": {
            "type": "string",
            "description": "A base64 string indicating the offset from which to start. <br>Pass the value of `nextCursor` returned from the previous call to get the next set of results",
            "example": "WzE0NjM1Mzg4NTcsIjY1NDMyMyJd"
          }
        }
      }
    }
  },
  "paths": {
    "/apps/{idApp}/users": {
      "get": {
        "summary": "List application users",
        "operationId": "getAppsIdappUsers",
        "description": "\n<p><ul><li>Rate limit: 600 requests per minute</li></ul></p>",
        "parameters": [
          {
            "name": "idApp",
            "in": "path",
            "schema": {
              "type": "integer",
              "description": "Unique app identifier",
              "example": 1000,
              "minimum": 1,
              "maximum": 2147483647
            },
            "description": "Unique app identifier",
            "required": true
          },
          {
            "name": "fields",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "A comma-separated list of fields to return for each user. When omitted, all fields are returned. Allowed fields include the standard application-user fields and all fields from `/apps/fields`.",
              "example": "id,fullName,email,status"
            },
            "description": "A comma-separated list of fields to return for each user. When omitted, all fields are returned. Allowed fields include the standard application-user fields and all fields from `/apps/fields`."
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "A comma-separated list of fields to sort by, with a postfix with either ':asc' or ':desc'. Fields can either be general, or custom to your organization",
              "example": "fullName:asc,role:desc"
            },
            "description": "A comma-separated list of fields to sort by, with a postfix with either ':asc' or ':desc'. Fields can either be general, or custom to your organization"
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "A query to search by",
              "example": "Tony"
            },
            "description": "A query to search by"
          },
          {
            "name": "qFields",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "A comma-separated list of fields the query to search applies to. Fields can either be general, or custom to your organization",
              "example": "fullName,originEmail"
            },
            "description": "A comma-separated list of fields the query to search applies to. Fields can either be general, or custom to your organization"
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "The user status to filter by",
              "example": "active",
              "enum": [
                "deleted",
                "active",
                "managed"
              ]
            },
            "description": "The user status to filter by"
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "description": "The max amount of results to return",
              "default": 1000,
              "maximum": 1000
            },
            "description": "The max amount of results to return"
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "A base64 string indicating the offset from which to start. <br>Pass the value of `nextCursor` returned from the previous call to get the next set of results",
              "example": "WzE0NjM1Mzg4NTcsIjY1NDMyMyJd"
            },
            "description": "A base64 string indicating the offset from which to start. <br>Pass the value of `nextCursor` returned from the previous call to get the next set of results"
          }
        ],
        "tags": [
          "Applications Users"
        ],
        "responses": {
          "200": {
            "description": "Application Users",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationUsers"
                }
              }
            }
          }
        }
      }
    }
  }
}
```