organization Users
GraphQL
query organizationUsers (
$search_terms: String
$listFilter: ListFilter
) {
organizationUsers (
search_terms: $search_terms
listFilter: $listFilter
) {
id
identifier
email
first_name
last_name
admin
organization {
id
identifier
admin
restricted
enabled
}
}
}
Keys that can be used to filter:
- user_id
- created_date — Example: ["2025-01-01", "2025-05-01"] (first is start, second is end date for the search)
- type
- phone_number
- phone_number_country
- first_name
- last_name
- address1
- address2
- city
- state_province_region
- postal_code
- country
- tax_number
- business_name
- trade_name
- trading_symbol
- naics_code
- business_type
- incorporation_date
- users
- state
query
string
Defaults to {}
200 200
object
search_terms
string
listFilter
object
limit
integer
Defaults to 0
offset
integer
Defaults to 0
400 400
NodeShell
var axios = require('axios');
var data = JSON.stringify({
query: `query organizationUsers (
$search_terms: String
$listFilter: ListFilter
) {
organizationUsers (
search_terms: $search_terms
listFilter: $listFilter
) {
id
identifier
email
first_name
last_name
admin
organization {
id
identifier
admin
restricted
enabled
}
}
}`,
variables: {"search_terms":"","listFilter":{"limit":0,"offset":0}}
});
var config = {
method: 'post',
maxBodyLength: Infinity,
url: 'https://sandbox.external.routefusion.com/graphql',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
{
"search_terms": "",
"listFilter": {
"limit": 0,
"offset": 0
}
}