Skip to main content
GET
/
api
/
apps
/
v1
/
{appId}
/
users
List 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

Authorization
string
header
required

OAuth 2.0. Obtain an access token via the Client Credentials or Authorization Code flow, then send it as Authorization: Bearer <token>.

Path Parameters

appId
string
required

Query Parameters

filter
string

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 active
  • email co "@example.com" — Accounts with an example.com email address
  • lastLoginDtm ge "2024-01-01" — Accounts that logged in on or after 1 Jan 2024
  • not (lastLoginDtm pr) — Accounts that have never logged in
  • deleted eq true — Show deleted accounts (excluded by default)
q
string

Free-text search across the resource's displayable fields.

since
string<date-time>

Only return items modified at or after this ISO-8601 timestamp.

until
string<date-time>

Only return items modified at or before this ISO-8601 timestamp.

after
string

Opaque pagination cursor supplied by SaaS Manager via the link response header and the next field.

limit
integer
default:100

Maximum number of items to return per page (default 100, maximum 1000).

Required range: 1 <= x <= 1000

Response

OK

next
string

The URL of the next page of results. Absent when there are no more results.

results
object[]

The page of results.