User information
This endpoint allows you to get information about a specific user.
Endpoint
GET /user/v1/users/{id}
Parameters
| Name | Location | Required | Type | Default value | Description |
|---|---|---|---|---|---|
| id | URL | Yes | String | The user you want information on |
Response
A User object.
Example Request
POST /user/v1/users/c0b48140-34cb-4187-acd7-aaa830dc97f9
Example Response
{
"message": "OK",
"data": {
"id": "c0b48140-34cb-4187-acd7-aaa830dc97f9",
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@company.com",
"language": "fr",
"phone": "+33612345678",
"customer_id": 1234,
"expires_at": "2050-12-25T12:00:00+01:00",
"last_login_at": null,
"created_at": "2023-01-01T00:00:00+01:00",
"created_by": {
"id": "7a1506b9-9ce4-43f9-a6f0-e94ef4252277",
"firstname": "Company",
"lastname": "Administrator"
},
"updated_at": "2023-01-01T00:00:00+01:00",
"updated_by": {
"id": "7a1506b9-9ce4-43f9-a6f0-e94ef4252277",
"firstname": "Company",
"lastname": "Administrator"
}
}
}