Clockify User API

The User API from Clockify — 8 operation(s) for user.

Operations 10

POST /v1/file/image Add a photo #
GET /v1/user Get currently logged-in user's info #
GET /v1/workspaces/{workspaceId}/member-profile/{userId} Get a member's profile #
PATCH /v1/workspaces/{workspaceId}/member-profile/{userId} Update a member's profile #
GET /v1/workspaces/{workspaceId}/users Find all users on a workspace #
POST /v1/workspaces/{workspaceId}/users/info Filter workspace users #
PUT /v1/workspaces/{workspaceId}/users/{userId}/custom-field/{customFieldId}/value Update a user's custom field #
GET /v1/workspaces/{workspaceId}/users/{userId}/managers Find user's team manager #
DELETE /v1/workspaces/{workspaceId}/users/{userId}/roles Remove user's manager role #
POST /v1/workspaces/{workspaceId}/users/{userId}/roles Give manager role to a user #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/clockify-user-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

clockify-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: "## Introduction\nBy using this REST API, you can easily integrate Clockify with your own add-ons, push and pull data\nbetween Clockify and other tools, and create custom add-ons on [CAKE.com Marketplace](https://marketplace.cake.com).\nWhether you’re looking to automate time tracking, generate custom reports, or build other custom\nintegrations, our API provides the flexibility and power you need to get the job done. If you\nhave any questions or run into any issues while using our API, don’t hesitate to reach out to us for help.\nYou can also post questions on Stack Overflow with the Clockify tag to get help from the community.\n## Authentication\nTo authenticate your requests to your API, make sure to include either the ‘X-Api-Key’ or the\n‘X-Addon-Token’ in the request header, containing your API or Addon key. If your workspace is\non a subdomain (e.g. subdomain.clockify.me), you’ll need to generate a new API key in your\nProfile Settings that will work specifically for that workspace. This ensures that you’re\naccessing data from the correct workspace and helps maintain the security of your data.\n## Webhooks\nWebhooks can enhance your workflow by keeping your add-on up-to-date with the latest changes in\nClockify. With Clockify’s webhooks you can receive real-time notifications when certain events such as\nstarting a timer or deleting a time entry occur in Clockify.\nDepending on the workspace plan, workspace owners and admins can create:\n\n* Up to 3 webhooks on **FREE** plan\n* Up to 10 webhooks per user, with a total of 100 webhooks per entire workspace\non **BASIC**, **STANDARD** and **PRO** plans\n* Up to 100 webhooks per user, with a total of 300 webhooks per entire workspace on **ENTERPRISE** plan\n\n## Rate limiting\nOur REST API has a specific rate limit of 50 requests per second (by addon on one workspace) when\naccessed using X-Addon-Token. Exceeding this limit will result in an error message with the description\n\"Too many requests\".\n## Pagination\nOur REST API supports pagination for all synchronous GET endpoints that retrieve lists of entities.\nWhen an endpoint accepts the `page` and `pageSize` query parameters, it will return a paginated response.\n\nTo control the data returned in a paginated request, you can use the following optional query parameters.\n\n- **page** (integer): The page number you wish to retrieve. This is 1-indexed. If this parameter is omitted,\nthe API will default to the first page (page=1).\n- **pageSize** (integer): The number of items to include on each page. If this parameter is omitted,\na default page size will be used.\n\nEvery response from an endpoint that supports these parameters will include a custom `Last-Page` header.\nThis header provides a simple way to determine if you have reached the end of the data set.\n\n- **true:** The current page is the final page; no more data is available.\n- **false:** Additional pages can be fetched.\n## API URLs\nRefer to the list on what URL to use base on the subdomain and data region settings of your workspace.\n* Global - can be used by workspaces with or without subdomain.\n    * Regular: https://api.clockify.me/api/v1/file/image\n    * Reports: https://reports.api.clockify.me/v1/workspaces/{workspaceId}/reports/detailed\n* Regional\n    * Non-subdomain\n        * Regular: https://euc1.clockify.me/api/v1/file/image\n        * Reports: https://use2.clockify.me/report/v1/workspaces/{workspaceId}/reports/detailed\n    * Subdomain\n        * Regular: https://euc1.clockify.me/api/v1/file/image\n        * Reports: https://yoursubdomainname.clockify.me/report/v1/workspaces/{workspaceId}/reports/detailed\n* Developer\n    * Regular: https://developer.clockify.me/api/v1/file/image\n    * Reports: https://developer.clockify.me/report/v1/workspaces/{workspaceId}/reports/detailed\n## Regional Server Prefixes\nIf your workspace is in a specific region, you need to change your URL prefix to access v1 API endpoints.\nFor example, this is how **backend** api [v1/file/image](#tag/User/operation/uploadImage) endpoint\nwould look in EU region:\n[https://euc1.clockify.me/api/v1/file/image](https://euc1.clockify.me)\n\nBelow are the available regional server prefixes:\n* **EU (Germany)**: euc1\n* **USA**: use2\n* **UK**: euw2\n* **AU**: apse2\n\n\n## Breaking changes\nBreaking changes in APIs are modifications that disrupt existing integrations,\nrequiring users to update their applications to maintain functionality.\nThese changes can lead to failures or unexpected results if not addressed.\nSee the list of [breaking changes](breaking-changes/).\n\n## Experimental APIs\nThe experimental API has been thoroughly tested and is ready for use in production. However, please note that user feedback may lead to changes in the API’s structure or functionality. If you choose to use the experimental API, be prepared to modify your application code accordingly to accommodate any updates."
  title: Clockify Approval User API
  version: v1
  x-logo:
    altText: Clockify logo
    url: https://clockify.me/downloads/clockify_logo_primary_black_margin.png
servers:
- url: https://api.clockify.me/api/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: User
  x-displayName: User
paths:
  /v1/file/image:
    servers:
    - url: https://api.clockify.me/api
    post:
      operationId: uploadImage
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  description: Image to be uploaded
                  format: binary
              required:
              - file
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadFileResponseV1'
          description: OK
      summary: Add a photo
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/user:
    servers:
    - url: https://api.clockify.me/api
    get:
      operationId: getLoggedUser
      parameters:
      - description: If set to true, memberships will be included.
        example: true
        in: query
        name: include-memberships
        required: false
        schema:
          type: boolean
          description: If set to true, memberships will be included.
          example: true
          default: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDtoV1'
          description: OK
      security:
      - MarketplaceKeyAuth: []
      - ApiKeyAuth: []
      - AddonKeyAuth: []
      summary: Get currently logged-in user's info
      tags:
      - User
  /v1/workspaces/{workspaceId}/member-profile/{userId}:
    servers:
    - url: https://api.clockify.me/api
    get:
      operationId: getMemberProfile
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      - description: Represents a user identifier across the system.
        example: 5a0ab5acb07987125438b60f
        in: path
        name: userId
        required: true
        schema:
          type: string
          description: Represents a user identifier across the system.
          example: 5a0ab5acb07987125438b60f
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberProfileDtoV1'
          description: OK
      summary: Get a member's profile
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
    patch:
      operationId: updateMemberProfileWithAdditionalData
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      - description: Represents a user identifier across the system.
        example: 5a0ab5acb07987125438b60f
        in: path
        name: userId
        required: true
        schema:
          type: string
          description: Represents a user identifier across the system.
          example: 5a0ab5acb07987125438b60f
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberProfileFullRequestV1'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberProfileDtoV1'
          description: OK
      summary: Update a member's profile
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/users:
    servers:
    - url: https://api.clockify.me/api
    get:
      operationId: getUsersOfWorkspace
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      - description: If provided, you'll get a filtered list of users that contain the provided string in their email address.
        example: mail@example.com
        in: query
        name: email
        required: false
        schema:
          type: string
          description: If provided, you'll get a filtered list of users that contain the provided string in their email address.
          example: mail@example.com
      - description: If provided, you'll get a list of users that have access to the project.
        example: 21a687e29ae1f428e7ebe606
        in: query
        name: project-id
        required: false
        schema:
          type: string
      - description: If provided, you'll get a filtered list of users with the corresponding status.
        example: ACTIVE
        in: query
        name: status
        required: false
        schema:
          type: string
          enum:
          - PENDING
          - ACTIVE
          - DECLINED
          - INACTIVE
          - ALL
      - description: If provided, you'll get a filtered list of users with the corresponding account status filter. If not, this will only filter ACTIVE, PENDING_EMAIL_VERIFICATION, and NOT_REGISTERED Users.
        example: LIMITED
        in: query
        name: account-statuses
        required: false
        schema:
          type: string
      - description: If provided, you'll get a filtered list of users that contain the provided string in their name
        example: John
        in: query
        name: name
        required: false
        schema:
          type: string
          description: If provided, you'll get a filtered list of users that contain the provided string in their name
          example: John
      - description: 'Sorting column criteria. Default value: EMAIL'
        example: ID
        in: query
        name: sort-column
        required: false
        schema:
          type: string
          enum:
          - ID
          - EMAIL
          - NAME
          - NAME_LOWERCASE
          - ACCESS
          - HOURLYRATE
          - COSTRATE
      - description: 'Sorting mode. Default value: ASCENDING'
        example: ASCENDING
        in: query
        name: sort-order
        required: false
        schema:
          type: string
          enum:
          - ASCENDING
          - DESCENDING
      - description: Page number.
        example: 1
        in: query
        name: page
        required: false
        schema:
          type: integer
          description: Page number.
          format: int32
          example: 1
          default: 1
      - description: Page size.
        example: 50
        in: query
        name: page-size
        required: false
        schema:
          minimum: 1
          type: integer
          description: Page size.
          format: int32
          example: 50
          default: 50
      - description: If provided, you'll get all users along with workspaces, groups, or projects they have access to. Default value is NONE.
        example: WORKSPACE
        in: query
        name: memberships
        required: false
        schema:
          type: string
          enum:
          - ALL
          - NONE
          - WORKSPACE
          - PROJECT
          - USERGROUP
      - description: If you pass along includeRoles=true, you'll get each user's detailed manager role (including projects and members which they manage)
        in: query
        name: include-roles
        required: true
        schema:
          type: string
          default: 'false'
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDtoV1'
          description: OK
      summary: Find all users on a workspace
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/users/info:
    servers:
    - url: https://api.clockify.me/api
    post:
      operationId: filterUsersOfWorkspace
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetUsersRequestV1'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDtoV1'
          description: OK
      security:
      - MarketplaceKeyAuth: []
      - ApiKeyAuth: []
      - AddonKeyAuth: []
      summary: Filter workspace users
      tags:
      - User
  /v1/workspaces/{workspaceId}/users/{userId}/custom-field/{customFieldId}/value:
    servers:
    - url: https://api.clockify.me/api
    put:
      operationId: upsertUserCustomFieldValue
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      - description: Represents a user identifier across the system.
        example: 5a0ab5acb07987125438b60f
        in: path
        name: userId
        required: true
        schema:
          type: string
          description: Represents a user identifier across the system.
          example: 5a0ab5acb07987125438b60f
      - description: Represents custom field identifier across the system.
        example: 5e4117fe8c625f38930d57b7
        in: path
        name: customFieldId
        required: true
        schema:
          type: string
          description: Represents custom field identifier across the system.
          example: 5e4117fe8c625f38930d57b7
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertUserCustomFieldRequestV1'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserCustomFieldValueDtoV1'
          description: Created
      summary: Update a user's custom field
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/users/{userId}/managers:
    servers:
    - url: https://api.clockify.me/api
    get:
      operationId: getManagersOfUser
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      - description: Represents a user identifier across the system.
        example: 5a0ab5acb07987125438b60f
        in: path
        name: userId
        required: true
        schema:
          type: string
          description: Represents a user identifier across the system.
          example: 5a0ab5acb07987125438b60f
      - description: Sorting column criteria
        example: ID
        in: query
        name: sort-column
        required: false
        schema:
          type: string
          enum:
          - ID
          - EMAIL
          - NAME
          - NAME_LOWERCASE
          - ACCESS
          - HOURLYRATE
          - COSTRATE
      - description: Sorting mode
        example: ASCENDING
        in: query
        name: sort-order
        required: false
        schema:
          type: string
          enum:
          - ASCENDING
          - DESCENDING
      - description: Page number.
        example: 1
        in: query
        name: page
        required: false
        schema:
          type: integer
          description: Page number.
          format: int32
          example: 1
          default: 1
      - description: Page size.
        example: 50
        in: query
        name: page-size
        required: false
        schema:
          minimum: 1
          type: integer
          description: Page size.
          format: int32
          example: 50
          default: 50
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDtoV1'
          description: OK
      summary: Find user's team manager
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/users/{userId}/roles:
    servers:
    - url: https://api.clockify.me/api
    delete:
      operationId: deleteUserRole
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      - description: Represents a user identifier across the system.
        example: 5a0ab5acb07987125438b60f
        in: path
        name: userId
        required: true
        schema:
          type: string
          description: Represents a user identifier across the system.
          example: 5a0ab5acb07987125438b60f
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleRequestV1'
        required: true
      responses:
        '204':
          description: No Content
      summary: Remove user's manager role
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
    post:
      operationId: createUserRole
      parameters:
      - description: Represents a workspace identifier across the system.
        example: 64a687e29ae1f428e7ebe303
        in: path
        name: workspaceId
        required: true
        schema:
          type: string
          description: Represents a workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
      - description: Represents a user identifier across the system.
        example: 5a0ab5acb07987125438b60f
        in: path
        name: userId
        required: true
        schema:
          type: string
          description: Represents a user identifier across the system.
          example: 5a0ab5acb07987125438b60f
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoleRequestV1'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoleDetailsDtoV1'
          description: Created
      summary: Give manager role to a user
      tags:
      - User
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
components:
  schemas:
    UserSettingsDtoV1:
      required:
      - dateFormat
      - timeFormat
      - timeZone
      type: object
      properties:
        alerts:
          type: boolean
          example: true
          default: false
        approval:
          type: boolean
          example: false
          default: false
        collapseAllProjectLists:
          type: boolean
          example: true
          default: false
        dashboardPinToTop:
          type: boolean
          example: true
          default: false
        dashboardSelection:
          type: string
          example: ME
          enum:
          - ME
          - TEAM
        dashboardViewType:
          type: string
          example: BILLABILITY
          enum:
          - PROJECT
          - BILLABILITY
        dateFormat:
          minLength: 1
          type: string
          description: Represents a date format.
          example: MM/DD/YYYY
        groupSimilarEntriesDisabled:
          type: boolean
          example: true
          default: false
        invoiceReminders:
          type: boolean
          example: false
          default: false
        isCompactViewOn:
          type: boolean
          example: false
          default: false
        lang:
          type: string
          example: en
        longRunning:
          type: boolean
          example: true
          default: false
        multiFactorEnabled:
          type: boolean
          example: true
          default: false
        myStartOfDay:
          type: string
          example: 09:00
        onboarding:
          type: boolean
          example: false
          default: false
        projectListCollapse:
          type: integer
          format: int32
          example: 15
        projectPickerTaskFilter:
          type: boolean
          example: false
          default: false
        pto:
          type: boolean
          example: true
          default: false
        reminders:
          type: boolean
          example: false
          default: false
        scheduledReports:
          type: boolean
          example: true
          default: false
        scheduling:
          type: boolean
          example: false
          default: false
        sendNewsletter:
          type: boolean
          example: false
          default: false
        showOnlyWorkingDays:
          type: boolean
          example: false
          default: false
        summaryReportSettings:
          $ref: '#/components/schemas/SummaryReportSettingsDtoV1'
        theme:
          type: string
          example: DARK
          enum:
          - DARK
          - DEFAULT
        timeFormat:
          minLength: 1
          type: string
          description: Represents a time format enum.
          example: HOUR24
          enum:
          - HOUR12
          - HOUR24
        timeTrackingManual:
          type: boolean
          example: true
          default: false
        timeZone:
          minLength: 1
          type: string
          description: Represents a valid timezone ID
          example: Asia/Aden
        weekStart:
          type: string
          description: Represents a day of the week.
          example: MONDAY
          enum:
          - MONDAY
          - TUESDAY
          - WEDNESDAY
          - THURSDAY
          - FRIDAY
          - SATURDAY
          - SUNDAY
        weeklyUpdates:
          type: boolean
          example: false
          default: false
      description: Represents user settings object.
    RoleRequestV1:
      required:
      - entityId
      - role
      type: object
      properties:
        entityId:
          minLength: 1
          type: string
          description: Represents an entity identifier across the system.
          example: 60f924bafdaf031696ec6218
        role:
          type: string
          description: Represents a valid role.
          example: TEAM_MANAGER
          enum:
          - WORKSPACE_ADMIN
          - TEAM_MANAGER
          - PROJECT_MANAGER
        sourceType:
          type: string
          description: 'Optional field used to indicate that the target of the operation is a

            user group, in which case the value USER_GROUP should be used, alongside a valid user group

            ID for the entityId field. If omitted, a user ID should be used for the entityId field.

            '
          example: USER_GROUP
          enum:
          - USER_GROUP
    UploadFileResponseV1:
      type: object
      properties:
        name:
          type: string
          description: File name of the uploaded image
          example: image-01234567.jpg
        url:
          type: string
          description: The URL of the uploaded image in the server
          example: https://clockify.com/image-01234567.jpg
    RoleDtoV1:
      type: object
      properties:
        id:
          type: string
          description: Represents role identifier across the system.
          example: 60f91b3ffdaf031696ec61a8
        name:
          type: string
          description: Represents a role name.
          example: Administrator
        source:
          $ref: '#/components/schemas/AuthorizationSourceDtoV1'
      description: Represents a role data transfer object.
    CustomFieldDefaultValuesDtoV1:
      type: object
      properties:
        projectId:
          type: string
          description: Represents project identifier across the system.
          example: 5b641568b07987035750505e
        status:
          type: string
          description: Represents custom field status
          example: VISIBLE
        value:
          type: object
          description: Represents a custom field's default value
          example: Manila
      description: Represents a list of custom field default values data transfer objects.
    MembershipDtoV1:
      type: object
      properties:
        costRate:
          $ref: '#/components/schemas/RateDtoV1'
        hourlyRate:
          $ref: '#/components/schemas/HourlyRateDtoV1'
        membershipStatus:
          type: string
          description: Represents a membership status enum.
          example: PENDING
          enum:
          - PENDING
          - ACTIVE
          - DECLINED
          - INACTIVE
          - ALL
        membershipType:
          type: string
          description: Represents membership type enum.
          example: PROJECT
          enum:
          - WORKSPACE
          - PROJECT
          - USERGROUP
        targetId:
          type: string
          description: Represents target identifier across the system.
          example: 64c777ddd3fcab07cfbb210c
        userId:
          type: string
          description: Represents user identifier across the system.
          example: 5a0ab5acb07987125438b60f
      description: Represents a list of membership objects.
    UpsertUserCustomFieldRequestV1:
      type: object
      properties:
        value:
          type: object
          description: Represents custom field value.
          example: 20231211-12345
    HourlyRateDtoV1:
      type: object
      properties:
        amount:
          type: integer
          description: Represents an amount as integer.
          format: int32
          example: 10500
        currency:
          type: string
          description: Represents a currency.
          example: USD
      description: Represents an hourly rate object.
    UserCustomFieldValueFullDtoV1:
      type: object
      properties:
        customField:
          $ref: '#/components/schemas/CustomFieldDtoV1'
        customFieldId:
          type: string
          description: Represents custom field identifier across the system.
          example: 5e4117fe8c625f38930d57b7
        name:
          type: string
          description: Represents user custom field name.
          example: race
        sourceType:
          type: string
          description: Represents user custom field source type.
          example: WORKSPACE
          enum:
          - WORKSPACE
          - USER
        type:
          type: string
          description: Represents custom field type.
          example: DROPDOWN_MULTIPLE
          enum:
          - TXT
          - NUMBER
          - DROPDOWN_SINGLE
          - DROPDOWN_MULTIPLE
          - CHECKBOX
          - LINK
        userId:
          type: string
          description: Represents user identifier across the system.
          example: 5a0ab5acb07987125438b60f
        value:
          type: object
          description: Represents user custom field value.
          example: Asian
      description: Represents a list of value objects for user’s custom fields.
    AuthorizationSourceDtoV1:
      type: object
      properties:
        id:
          type: string
          description: Represents authorization source identifier across the system.
          example: 5b715612b079875110791234
        type:
          type: string
          description: Represents a valid authorization source type.
          example: USER_GROUP
          enum:
          - USER_GROUP
      description: Represents an authorization data transfer object.
    RoleDetailsDtoV1:
      type: object
      properties:
        role:
          $ref: '#/components/schemas/RoleDtoV1'
        userId:
          type: string
          description: Represents workspace identifier across the system.
          example: 5a0ab5acb07987125438b60f
        workspaceId:
          type: string
          description: Represents workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
    AccountStatus:
      type: object
      description: Represents account status enum.
      example: ACTIVE
      oneOf:
      - type: string
        enum:
        - ACTIVE
        - PENDING_EMAIL_VERIFICATION
        - DELETED
        - NOT_REGISTERED
        - LIMITED
        - LIMITED_DELETED
      properties:
        ACTIVE:
          type: string
          enum:
          - ACTIVE
          - PENDING_EMAIL_VERIFICATION
          - DELETED
          - NOT_REGISTERED
          - LIMITED
          - LIMITED_DELETED
        DELETED:
          type: string
          enum:
          - ACTIVE
          - PENDING_EMAIL_VERIFICATION
          - DELETED
          - NOT_REGISTERED
          - LIMITED
          - LIMITED_DELETED
        LIMITED:
          type: string
          enum:
          - ACTIVE
          - PENDING_EMAIL_VERIFICATION
          - DELETED
          - NOT_REGISTERED
          - LIMITED
          - LIMITED_DELETED
        LIMITED_DELETED:
          type: string
          enum:
          - ACTIVE
          - PENDING_EMAIL_VERIFICATION
          - DELETED
          - NOT_REGISTERED
          - LIMITED
          - LIMITED_DELETED
        NOT_REGISTERED:
          type: string
          enum:
          - ACTIVE
          - PENDING_EMAIL_VERIFICATION
          - DELETED
          - NOT_REGISTERED
          - LIMITED
          - LIMITED_DELETED
        PENDING_EMAIL_VERIFICATION:
          type: string
          enum:
          - ACTIVE
          - PENDING_EMAIL_VERIFICATION
          - DELETED
          - NOT_REGISTERED
          - LIMITED
          - LIMITED_DELETED
        active:
          type: boolean
        limitedAccount:
          type: boolean
        notRegistered:
          type: boolean
    UserDtoV1:
      type: object
      properties:
        activeWorkspace:
          type: string
          descri

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/clockify/refs/heads/main/openapi/clockify-user-api-openapi.yml