InsionInsion
Ruby

List users

Retrieve users for the authenticated organization

page = client.list_users(limit: 20, email: "person@example.com")

Filter with client_id, email, status, or Insion user ID. Use either starting_after or ending_before to paginate. The response has data and has_more.

Method shape

client.list_users(request_options: {}, **params)
KeywordTypeDescription
limitIntegerMaximum users to return.
starting_after, ending_beforeStringMutually exclusive pagination cursors.
client_idStringFilter by your user identifier.
emailStringFilter by user email.
statusstatus enumFilter by user action status.
userStringFilter by Insion user ID.

The returned ListUsersResponse exposes data and has_more. Use the last user’s Insion ID as starting_after for the next page.

On this page