Show user details

Get details of a specific user

Request

Endpoint: /api/users/{user_id}
Example: /api/users/915
Method: GET
Headers: Accept: application/vnd.cloudlx.v1+json
Authorization: Bearer <access_token>

Response

Example:

                                
    {
        "id": 915,
        "customer_id": 41,
        "email": "j.smith@example.com",
        "first_name": "John",
        "last_name": "Smith",
        "phone": "+442071234567",
        "time_zone": "Europe/London"
    }
                                
                            
id Description The id of the user
Type Integer
Example 915
customer_id Description The id of the user's customer
Type Integer
Example 915
email Description The user's email
Type String
Example j.smith@example.com
first_name Description The user name
Type String
Example John
last_name Description The user's last name
Type String
Example Smith
phone Description The user's phone number
Type String
Example +442071234567
time_zone Description The user's default time_zone
Type String (any valid timezone available in the IANA timezone database).
Example Europe/London

Back to top