Skip to content

Get all users

Request

Fetches all users associated with the corporate or consumer identity the logged-in user belongs to.

Security
auth_token and api-key
Query
offsetinteger, (int32), >= 0

The offset value for paging, indicating the initial item number to be returned from the data set satisfying the given criteria. Leave out to fetch the first page of results.

limitinteger, (int32), [ 1 .. 100 ]

The limit of the results for paging, starting at the offset. Limit is always capped at 100.

activeboolean

Filter for active or deactivated users. Leave out to fetch all users.

emailstring, (email)(Email)

Filter by the email address of the user.

tagstring

Filter by the managed account/card tag. The exact tag must be provided, as wildcards are not supported. Leave out to fetch all managed accounts/card.

rolesArray of strings(UserPredefinedRole)

Filter users by role. Multiple roles use OR logic.

Items Enum:"CARD_ASSIGNEE""CARDS_MANAGEMENT_ROLE""FUNDS_MANAGEMENT_ROLE""ACCESS_MANAGEMENT_ROLE""ADMIN"
curl -i -X GET \
  'https://sandbox.weavr.io/multi/users?offset=0&limit=1&active=true&email=user%40example.com&tag=string&roles=CARD_ASSIGNEE' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

Success

Headers
request-refstringrequired

A request identifier. Providing this reference when contacting our support team will help us investigate your query.

Bodyapplication/json
usersArray of objects(User)

The list of users matching the criteria specified.

countinteger, (int32)

The total number of records (excluding the paging limit).

responseCountinteger, (int32)

The total number of records returned in this response (always capped at 100).

Response
{ "users": [ { … } ], "count": 0, "responseCount": 0 }