Users
List Users
Retrieve all users for a current app.
GET
Recipes
Filter users by multiple criteria
Filter users by multiple criteria
1
1. Set a filter
Use a
filter parameter to set a filter.Set a value type, search operator, and value to filter users by. You can set as many filters as you need.Here, the two filters are set:- The users are filtered by the
facebook_idfield with a value less than the50000. - The users are filtered by the
created_atfield with a value greater than the2019-08-27T21:08:55Z.
2
2. As a result, the API returns users filtered by two criteria.
- The users with the
facebook_idvalue less than the50000are returned. - The users with the
created_atvalue greater than the2019-08-27T21:08:55Zare returned.
Filter users by criteria
Filter users by criteria
1
1. Set a filter
Use a
filter parameter to set a filter.Set a value type, search operator, and value to filter users by.In this case, the users are filtered by the facebook_id with a value less than 50000.2
2. As a result, the API returns users by the specified criteria.
The users with the
facebook_id value greater than 50000 are returned.List users with API key
List users with API key
1
1. Use 'Authorization' header to pass API key
2
2. As a result, the API returns a list of users.
created_at value is specified, the request will return only instances by the specified created_atvalue. Filters require an exact match of property values with an instance of the corresponding parameter value.
Sort operators
There can be any of the below-specified parameters or nothing in the query as the value for sorting. If there are other parameters within the query, the validation error is returned.
Query Parameters
string
Review Search Operators section for more details.
string
Review Sort operators section for more details.
integer
default:"1"
Page of results to return.
integer
default:"10"
Number of records to return in one request. Min: 1. Max: 100.
Headers
string
required
A user session token. See Authentication page to learn more about the session token.
string
default:"ApiKey {your_api_key}"
required
API key from Dashboard. Expected format:
ApiKey {your_api_key}. Must be used either QB-Token or Authorization.