Get User
This endpoint allows you to retrieve information about specific users and list all users with optional filtering and pagination.
πΉ Endpoint Detailsβ
Get Single Userβ
GET /api/v1/users/{id}
List Usersβ
GET /api/v1/users
π Authenticationβ
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Format: ONLIVESITE Credential:ONLIVEAccessKeyId, Signature=CalculatedSignature |
π Request Parametersβ
Path Parameters (Get Single User)β
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| id | string (UUID) | Yes | Unique identifier of the user | 550e8400-e29b-41d4-a716-446655440000 |
Query Parameters (List Users)β
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
| page | number | No | Page number for pagination | 1 |
| limit | number | No | Items per page | 20 |
| search | string | No | Search in name or email | - |
| organizationId | string | No | Filter by organization ID | - |
| userGroupId | string | No | Filter by user group ID | - |
π§© Request Examplesβ
Get Single Userβ
curl -X GET "https://openapi.onlive.site/api/v1/users/550e8400-e29b-41d4-a716-446655440000" \
-H "Content-Type: application/json" \
-H "Authorization: ONLIVESITE Credential:ONLIVEAccessKeyId, Signature=CalculatedSignature"
List Users with Filteringβ
curl -X GET "https://openapi.onlive.site/api/v1/users?page=1&limit=10&search=john&userGroupId=123e4567-e89b-12d3-a456-426614174000" \
-H "Content-Type: application/json" \
-H "Authorization: ONLIVESITE Credential:ONLIVEAccessKeyId, Signature=CalculatedSignature"