API & SDKsREST APIUsers

List users

GET/v2/users
AuthorizationBearer <token>

API key for authentication. Use format: Bearer YOUR_API_KEY

In: header

Query Parameters

current?boolean

If true, returns only the current authenticated user

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v2/users"
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "email": "john.doe@example.com",
    "name": "John Doe",
    "image": "https://example.com/user-avatar.jpg",
    "banned": false
  }
]
{
  "message": "Unauthorized",
  "code": "UNAUTHORIZED",
  "issues": []
}
{
  "message": "Internal server error",
  "code": "INTERNAL_SERVER_ERROR",
  "issues": []
}

How is this guide?