List all users
List all users
Query Parameters
includeAvatars boolean
Include avatar display urls in the response for each user
Responses
- 200
- 401
Successfully retrieved the user(s)
application/json
Schema
Example (from schema)
Schema
data object[]
{
"data": [
{
"id": "64a6b60be7ce3a7774155263",
"initials": "JD",
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"email": "help@rinkel.com",
"phoneNumber": {
"e164": "+31612345678",
"countryIsoCode": "NL",
"countryCallingCode": 31,
"number": "612345678"
},
"availability": "AVAILABLE",
"avatarUrls": {
"small": "https://api.rinkel.com/users/64a6b60be7ce3a7774155263/avatar/small?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"large": "https://api.rinkel.com/users/64a6b60be7ce3a7774155263/avatar/large?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
},
"preferences": {
"language": "nl",
"defaultCountryCode": "NL",
"defaultOutboundNumber": "64b8e900cbe7501ee8467d3e",
"colorMode": "light",
"webphone": {
"ringTone": "ringtone1",
"ringDevice": true,
"callWaiting": {
"enabled": true,
"playWaitingTone": true
},
"mohConfig": {
"enabled": true,
"music": "568ddc2bdac2bd246861ec00"
}
}
},
"role": "USER",
"locale": "en-US",
"notifications": {
"missedCalls": {
"enabled": true,
"channels": [
"email",
"app"
]
},
"callOutsideBusinessHours": {
"enabled": true,
"channels": [
"email",
"app"
]
},
"voicemail": {
"enabled": true,
"channels": [
"email",
"app"
]
},
"invoice": {
"enabled": true,
"channels": [
"email"
]
}
},
"insights": {
"enabled": true
},
"fixed": {
"enabled": false,
"tenantId": null,
"extension": null,
"outboundNumber": null,
"ringDevice": "fixed"
}
}
]
}
Unauthorized
GET /users
Authorization
name: x-rinkel-api-keytype: apiKeyin: header
Request
Request
curl / cURL
curl -L -X GET 'https://api.rinkel.com/v1/users' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://api.rinkel.com/v1/users' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
php / axios
curl -L -X GET 'https://api.rinkel.com/v1/users' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://api.rinkel.com/v1/users' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
ruby / cURL
curl -L -X GET 'https://api.rinkel.com/v1/users' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'
java / unirest
curl -L -X GET 'https://api.rinkel.com/v1/users' \
-H 'Accept: application/json' \
-H 'x-rinkel-api-key: <API_KEY_VALUE>'