get https://api.dashboard.strev.ai/api/v2/user/?company=1
List all (or one) users.
Endpoint URL
https://{{base_url}}/api/v2/user
Authentication and rate limits
Item | Details |
---|---|
Authentication method | OAuth 2.0 Bearer token |
Rate limit | Rate Limit |
Requests Example
curl --request GET \
--url 'https://{{base_url}}/api/v2/user' \
--header 'Authorization: Bearer $BEARER_TOKEN'
curl --request GET \
--url 'https://dashboard-api.revnue.com/api/v2/user/$id' \
--header 'Authorization: Bearer $BEARER_TOKEN'
Query Parameters
- id (integer) --
Optional if you want to list a specific user ID. The id parameter is passed as part of the request url
/user/$id
.
Response Syntax
{
"id": integer,
"first_name": "string",
"last_name": "string",
"email": "string",
"role": "admin" | "user",
"status": "has_site_access" | "no_site_access" | "removed"
}