curl --request GET \
--url https://app.trelica.com/api/apps/v1/{appId}/users \
--header 'Authorization: Bearer <token>'{
"next": "https://app.trelica.com/api/apps/v1/9425963fcd38ed972d209b49/users?after=eyJpZCI6IjY0NjlmMGIzZTJhMWM0ZDVmNmE3YjgwMSJ9&limit=100",
"results": [
{
"id": "6469f0b3e2a1c4d5f6a7b801",
"name": "John Doe",
"email": "john.doe@example.com",
"status": "Active",
"lastLoginDtm": "2024-05-24T09:12:33Z",
"deleted": false,
"lastModifiedDtm": "2024-05-26T01:03:26Z"
},
{
"id": "6469f0b3e2a1c4d5f6a7b802",
"name": "Jane Smith",
"email": "jane.smith@example.com",
"status": "Active",
"lastLoginDtm": "2024-05-25T16:45:02Z",
"deleted": false,
"lastModifiedDtm": "2024-05-25T16:45:02Z"
}
]
}List application accounts
Returns a paginated list of the accounts (users) on a given application. Follow the
next link to page through large result sets.
Required scope: Apps.Users.Read (Read-only access to application accounts)
curl --request GET \
--url https://app.trelica.com/api/apps/v1/{appId}/users \
--header 'Authorization: Bearer <token>'{
"next": "https://app.trelica.com/api/apps/v1/9425963fcd38ed972d209b49/users?after=eyJpZCI6IjY0NjlmMGIzZTJhMWM0ZDVmNmE3YjgwMSJ9&limit=100",
"results": [
{
"id": "6469f0b3e2a1c4d5f6a7b801",
"name": "John Doe",
"email": "john.doe@example.com",
"status": "Active",
"lastLoginDtm": "2024-05-24T09:12:33Z",
"deleted": false,
"lastModifiedDtm": "2024-05-26T01:03:26Z"
},
{
"id": "6469f0b3e2a1c4d5f6a7b802",
"name": "Jane Smith",
"email": "jane.smith@example.com",
"status": "Active",
"lastLoginDtm": "2024-05-25T16:45:02Z",
"deleted": false,
"lastModifiedDtm": "2024-05-25T16:45:02Z"
}
]
}Authorizations
OAuth 2.0. Obtain an access token via the Client Credentials or Authorization Code flow, then send it as Authorization: Bearer <token>.
Path Parameters
Query Parameters
A SCIM-style filter expression restricting the items returned. See the Filtering section of the introduction for the operators and syntax; the filterable fields are listed per resource.
Filterable fields
- string:
email,id,name,status - date:
lastLoginDtm,lastModifiedDtm - boolean:
deleted
Filter examples
status eq "Active"— Accounts that are currently activeemail co "@example.com"— Accounts with an example.com email addresslastLoginDtm ge "2024-01-01"— Accounts that logged in on or after 1 Jan 2024not (lastLoginDtm pr)— Accounts that have never logged indeleted eq true— Show deleted accounts (excluded by default)
Free-text search across the resource's displayable fields.
Only return items modified at or after this ISO-8601 timestamp.
Only return items modified at or before this ISO-8601 timestamp.
Opaque pagination cursor supplied by SaaS Manager via the link response header and the next field.
Maximum number of items to return per page (default 100, maximum 1000).
1 <= x <= 1000Was this page helpful?