List company users
curl --request GET \
--url https://api.sevalla.com/v3/users \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sevalla.com/v3/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"email": "user@example.com",
"image": "https://avatars.githubusercontent.com/u/12345",
"full_name": "John Doe"
}
]
}{
"message": "Unauthorized",
"status": 401,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "This API key is missing the <RESOURCE>:<ACTION> permission. Grant it to the key or use a key that has it.",
"status": 403,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Internal Server Error",
"status": 500,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}List company users
Retrieve the list of users belonging to the company associated with the authenticated API key.
GET
https://api.sevalla.com/v3
/
users
List company users
curl --request GET \
--url https://api.sevalla.com/v3/users \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sevalla.com/v3/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"email": "user@example.com",
"image": "https://avatars.githubusercontent.com/u/12345",
"full_name": "John Doe"
}
]
}{
"message": "Unauthorized",
"status": 401,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "This API key is missing the <RESOURCE>:<ACTION> permission. Grant it to the key or use a key that has it.",
"status": 403,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Internal Server Error",
"status": 500,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}Was this page helpful?