User

Get a member's profile

Changed on
get/v1/workspaces/{workspaceId}/member-profile/{userId}

Request

  • Base URL: https://api.clockify.me/api
  • URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/member-profile/{userId}
  • Auth: one of:
    • API key in header x-api-key
    • API key in header x-addon-token

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:64a687e29ae1f428e7ebe303
userIdstring required

Represents a user identifier across the system.

Example:5a0ab5acb07987125438b60f

Response

OK

emailstring

Represents email address of the user.

hasPasswordboolean

Indicates whether user has password or none.

hasPendingApprovalRequestboolean

Indicates whether user has pending approval request.

imageUrlstring

Represents an image url.

namestring

Represents name of the user.

weekStart'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'

Represents a day of the week.

workCapacitystring

Represents work capacity as a time duration in the ISO-8601 format.

workingDays'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'

Represents a list of days of the week.

workspaceNumberinteger

Represents the number of workspace(s) the user is associated to.

Example response

{
  "email": "johndoe@example.com",
  "imageUrl": "https://www.url.com/imageurl-1234567890.jpg",
  "name": "John Doe",
  "userCustomFieldValues": [
    {
      "customField": {
        "allowedValues": [
          "New York",
          "London",
          "Manila",
          "Sydney",
          "Belgrade"
        ],
        "description": "This field contains a location.",
        "entityType": "USER",
        "id": "44a687e29ae1f428e7ebe305",
        "name": "location",
        "placeholder": "Location",
        "projectDefaultValues": [
          {
            "projectId": "5b641568b07987035750505e",
            "status": "VISIBLE"
          }
        ],
        "status": "VISIBLE",
        "type": "DROPDOWN_MULTIPLE",
        "workspaceId": "64a687e29ae1f428e7ebe303"
      },
      "customFieldId": "5e4117fe8c625f38930d57b7",
      "name": "race",
      "sourceType": "WORKSPACE",
      "type": "DROPDOWN_MULTIPLE",
      "userId": "5a0ab5acb07987125438b60f"
    }
  ],
  "weekStart": "MONDAY",
  "workCapacity": "PT7H",
  "workingDays": "[\"MONDAY\",\"TUESDAY\",\"WEDNESDAY\",\"THURSDAY\",\"FRIDAY\"]",
  "workspaceNumber": 3
}

Changes

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status

    • info

      the response's property default value was added for the status