Skip to main content
GET
/
api
/
v1
/
users
/
{id}
curl -X GET "https://api.orwel.io/api/v1/users/cc0e8400-e29b-41d4-a716-446655440007" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "data": {
    "id": "cc0e8400-e29b-41d4-a716-446655440007",
    "email": "john@example.com",
    "name": "John Doe",
    "avatar": "https://example.com/avatar.jpg",
    "username": "johndoe",
    "language": "en",
    "created_at": "2024-06-15T10:30:00Z",
    "workspace_role": "admin",
    "joined_at": "2024-06-15T10:30:00Z"
  }
}

Path Parameters

id
string
required
The unique identifier (UUID) of the user

Response

data
object
The workspace user object
curl -X GET "https://api.orwel.io/api/v1/users/cc0e8400-e29b-41d4-a716-446655440007" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "data": {
    "id": "cc0e8400-e29b-41d4-a716-446655440007",
    "email": "john@example.com",
    "name": "John Doe",
    "avatar": "https://example.com/avatar.jpg",
    "username": "johndoe",
    "language": "en",
    "created_at": "2024-06-15T10:30:00Z",
    "workspace_role": "admin",
    "joined_at": "2024-06-15T10:30:00Z"
  }
}