List User

List all (or one) users.

Endpoint URL

https://{{base_url}}/api/v2/user

Authentication and rate limits

ItemDetails
Authentication methodOAuth 2.0 Bearer token
Rate limitRate 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"
}
Language
Click Try It! to start a request and see the response here!