Skip to main content
Use this endpoint to retrieve all users (agents) in your Shilo organization. Results are paginated and can be filtered by external user ID, email address, or name. Pass the cursor value from the pagination object into your next request to walk through large teams page by page.

Endpoint

Authentication

Include your API key in the request header:

Query Parameters

number
default:"50"
Maximum number of users to return per page. Accepted range is 1–100.
string
Pagination cursor returned by a previous response. Pass this value to retrieve the next page of results.
string
Sort order by created date. Accepted values: asc, desc.
string
Filter by your system’s user ID. Exact match only.
string
Filter by email address. Case-insensitive exact match.
string
Filter by user name. Case-insensitive partial match — useful for search-as-you-type UIs.

Response

A successful request returns HTTP 200 with a UsersResponseDto object.

Response Fields

array
An array of User objects matching your query filters.
object
Pagination metadata for the current response.

Example Response

Error Codes

Example Request

Filter by name

Paginate with a cursor