Clockify Webhooks API

The Webhooks API from Clockify — 5 operation(s) for webhooks.

OpenAPI Specification

clockify-webhooks-api-openapi.yml Raw ↑
openapi: 3.0.1
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 Webhooks API
  version: v1
  x-logo:
    altText: Clockify logo
    url: https://clockify.me/downloads/clockify_logo_primary_black_margin.png
tags:
- name: Webhooks
  x-displayName: Webhooks
paths:
  /v1/workspaces/{workspaceId}/addons/{addonId}/webhooks:
    servers:
    - url: https://api.clockify.me/api
    get:
      operationId: getAddonWebhooks
      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 an addon identifier across the system.
        example: 64c777ddd3fcab07cfbb210c
        in: path
        name: addonId
        required: true
        schema:
          type: string
          description: Represents an addon identifier across the system.
          example: 64c777ddd3fcab07cfbb210c
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhooksDtoV1'
          description: OK
      summary: Get all webhooks for addon on a workspace
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/webhooks:
    servers:
    - url: https://api.clockify.me/api
    get:
      operationId: getWebhooks
      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 webhook type.
        example: USER_CREATED
        in: query
        name: type
        required: false
        schema:
          type: string
          enum:
          - USER_CREATED
          - SYSTEM
          - ADDON
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhooksDtoV1'
          description: OK
      summary: Get all webhooks on a workspace
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
    post:
      description: Creating a webhook generates a new token which can be used to verify that the webhook being sent was sent by Clockify, as it will always be present in the header.
      operationId: createWebhook
      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/CreateWebhookRequestV1'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDtoV1'
          description: Created
      summary: Create a webhook
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/webhooks/{webhookId}:
    servers:
    - url: https://api.clockify.me/api
    delete:
      operationId: deleteWebhook
      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 webhook identifier across the system.
        example: 5b715448b0798751107918ab
        in: path
        name: webhookId
        required: true
        schema:
          type: string
          description: Represents a webhook identifier across the system.
          example: 5b715448b0798751107918ab
      responses:
        '200':
          description: OK
      summary: Delete a webhook
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
    get:
      operationId: getWebhook
      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 webhook identifier across the system.
        example: 5b715448b0798751107918ab
        in: path
        name: webhookId
        required: true
        schema:
          type: string
          description: Represents a webhook identifier across the system.
          example: 5b715448b0798751107918ab
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDtoV1'
          description: OK
      summary: Get a specific webhook by id
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
    put:
      operationId: updateWebhook
      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 webhook identifier across the system.
        example: 5b715448b0798751107918ab
        in: path
        name: webhookId
        required: true
        schema:
          type: string
          description: Represents a webhook identifier across the system.
          example: 5b715448b0798751107918ab
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookRequestV1'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDtoV1'
          description: OK
      summary: Update a webhook
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/webhooks/{webhookId}/logs:
    servers:
    - url: https://api.clockify.me/api
    post:
      operationId: getLogsForWebhook
      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 webhook identifier across the system.
        in: path
        name: webhookId
        required: true
        schema:
          type: string
          description: Represents a webhook identifier across the system.
      - description: Page number.
        example: 1
        in: query
        name: page
        required: false
        schema:
          type: integer
          description: Page number.
          format: int32
          example: 1
          default: 0
      - description: Page size.
        example: 50
        in: query
        name: size
        required: false
        schema:
          minimum: 1
          type: integer
          description: Page size.
          format: int32
          example: 50
          default: 50
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookLogSearchRequestV1'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookLogDtoV1'
          description: OK
      summary: Get logs for a webhook
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
  /v1/workspaces/{workspaceId}/webhooks/{webhookId}/token:
    servers:
    - url: https://api.clockify.me/api
    patch:
      description: Generates a new webhook token and invalidates previous one
      operationId: generateNewToken
      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 webhook identifier across the system.
        example: 5b715448b0798751107918ab
        in: path
        name: webhookId
        required: true
        schema:
          type: string
          description: Represents a webhook identifier across the system.
          example: 5b715448b0798751107918ab
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDtoV1'
          description: OK
      summary: Generate a new token
      tags:
      - Webhooks
      security:
      - ApiKeyAuth: []
      - AddonKeyAuth: []
components:
  schemas:
    WebhookEventTriggerSourceType:
      type: object
      description: Represents a webhook event trigger source type.
      example: PROJECT_ID
      oneOf:
      - type: string
        enum:
        - PROJECT_ID
        - USER_ID
        - TAG_ID
        - TASK_ID
        - WORKSPACE_ID
        - ASSIGNMENT_ID
        - EXPENSE_ID
      properties:
        ASSIGNMENT_ID:
          type: string
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        EXPENSE_ID:
          type: string
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        PROJECT_ID:
          type: string
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        TAG_ID:
          type: string
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        TASK_ID:
          type: string
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        USER_ID:
          type: string
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        WORKSPACE_ID:
          type: string
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        entityType:
          type: string
          enum:
          - AUTH
          - ALERT
          - APPROVAL_REQUEST
          - ASSIGNMENT
          - CLIENT
          - DOMAIN
          - EXPENSE
          - EXPENSE_CATEGORY
          - EXPORT_SETTINGS
          - INVOICE
          - INVOICE_RECURRING_SETTINGS
          - INVOICE_REMINDERS
          - INVOICE_REMINDERS_INTERVALS
          - INVOICE_ITEM_TYPE
          - PASSWORD_RESET_TOKEN
          - PROJECT
          - PROJECT_FAVORITE
          - REMINDER
          - REPORT
          - ORGANIZATION
          - TEMPLATE
          - TIMEENTRY
          - TIMEENTRY_RATE
          - TAG
          - TASK
          - TASK_FAVORITES
          - USER
          - WORKSPACE_USER
          - USER_GROUP
          - WEBHOOK
          - WORKSPACE
          - CUSTOM_FIELD
          - WEBHOOK_LOG
          - SCHEDULE_ASSIGNMENT
          - SCHEDULE_MILESTONE
          - COMPANY
          - CURRENCY
          - KIOSK_PIN_CODE
          - KIOSK
          - KIOSK_SESSION
          - MARKETPLACE_ADDON
          - INVOICE_PAYMENT
          - DELETION_DOCUMENT
          - FAVORITE_TIMEENTRY
          - HOLIDAY
          - POLICY
          - POLICY_ASSIGNMENT
          - EMAIL_KEY_REQUEST
          - EMAIL_SESSION_REQUEST
          - FEATURE_SUBSCRIPTION
          - TIME_OFF_REQUEST
          - LOG_BIN
          - BALANCE_ASSIGNMENT
          - CUSTOM_COLOR
          - CUSTOM_COLORS_INDEX
          - SAMPLE_DATA
          - WEBHOOK_EVENT_STATUS
    WebhookDtoV1:
      type: object
      properties:
        authToken:
          type: string
          description: Represents an authentication token.
          example: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI2NGI3YmU3YmUwODM1Yjc2ZDYzOTY5YTciLCJtdWx0aUZhY3RvciI6dHJ1ZSwiaXNzIjoiY2xvY2tpZnkiLCJuYW1lIjoiTWFydGluIExsb3lkIiwiZXhwIjoxNjkzMzY5MzEwLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNjkzMzI2MTEwLCJqdGkiOiJZVGcxT0Raak9XTXRPRGRsWVMwME5qZ3hMVGxpTlRndE5UQmlOVEprTmpOaE
        deliveryEnabled:
          type: boolean
          description: Indicates whether webhook delivery is enabled or not. It can be disabled if delivery failed for too many times.
          default: false
        enabled:
          type: boolean
          description: Indicates whether webhook is enabled or not.
          default: false
        id:
          type: string
          description: Represents webhook identifier across the system.
          example: 76a687e29ae1f428e7ebe101
        name:
          type: string
          description: Represents webhook name.
          example: stripe
        planEnabled:
          type: boolean
          description: Indicates whether webhook is supported by current plan. It can be disabled if number of webhooks exceeds plan limit or if the feature is not supported on current plan.
          default: false
        triggerSource:
          type: array
          description: Represents a list of trigger sources.
          example:
          - 54a687e29ae1f428e7ebe909
          - 87p187e29ae1f428e7ebej56
          items:
            type: string
            description: Represents a list of trigger sources.
            example: '["54a687e29ae1f428e7ebe909","87p187e29ae1f428e7ebej56"]'
        triggerSourceType:
          $ref: '#/components/schemas/WebhookEventTriggerSourceType'
        url:
          type: string
          description: Represents workspace identifier across the system.
          example: https://example-clockify.com/stripeEndpoint
        userId:
          type: string
          description: Represents user identifier across the system.
          example: 5a0ab5acb07987125438b60f
        webhookEvent:
          $ref: '#/components/schemas/WebhookEventType'
        workspaceId:
          type: string
          description: Represents workspace identifier across the system.
          example: 64a687e29ae1f428e7ebe303
    CreateWebhookRequestV1:
      required:
      - triggerSource
      - triggerSourceType
      - url
      - webhookEvent
      type: object
      properties:
        name:
          maxLength: 30
          minLength: 2
          type: string
          description: Represents a webhook name.
          example: stripe
        triggerSource:
          type: array
          description: Represents a list of trigger sources.
          example:
          - 54a687e29ae1f428e7ebe909
          - 87p187e29ae1f428e7ebej56
          items:
            type: string
            description: Represents a list of trigger sources.
            example: '["54a687e29ae1f428e7ebe909","87p187e29ae1f428e7ebej56"]'
        triggerSourceType:
          type: string
          description: Represents a webhook event trigger source type.
          example: PROJECT_ID
          enum:
          - PROJECT_ID
          - USER_ID
          - TAG_ID
          - TASK_ID
          - WORKSPACE_ID
          - ASSIGNMENT_ID
          - EXPENSE_ID
        url:
          minLength: 1
          type: string
          description: Represents a webhook target url.
          example: https://example-clockify.com/stripeEndpoint
        webhookEvent:
          type: string
          description: Represents a webhook event type.
          example: NEW_PROJECT
          enum:
          - NEW_PROJECT
          - NEW_TASK
          - NEW_CLIENT
          - NEW_TIMER_STARTED
          - TIMER_STOPPED
          - TIME_ENTRY_UPDATED
          - TIME_ENTRY_DELETED
          - TIME_ENTRY_SPLIT
          - NEW_TIME_ENTRY
          - TIME_ENTRY_RESTORED
          - NEW_TAG
          - USER_DELETED_FROM_WORKSPACE
          - USER_JOINED_WORKSPACE
          - USER_DEACTIVATED_ON_WORKSPACE
          - USER_ACTIVATED_ON_WORKSPACE
          - USER_EMAIL_CHANGED
          - USER_UPDATED
          - NEW_INVOICE
          - INVOICE_UPDATED
          - NEW_APPROVAL_REQUEST
          - APPROVAL_REQUEST_STATUS_UPDATED
          - TIME_OFF_REQUESTED
          - TIME_OFF_REQUEST_UPDATED
          - TIME_OFF_REQUEST_APPROVED
          - TIME_OFF_REQUEST_REJECTED
          - TIME_OFF_REQUEST_STARTED
          - TIME_OFF_REQUEST_WITHDRAWN
          - BALANCE_UPDATED
          - TAG_UPDATED
          - TAG_DELETED
          - TASK_UPDATED
          - CLIENT_UPDATED
          - TASK_DELETED
          - CLIENT_DELETED
          - EXPENSE_RESTORED
          - ASSIGNMENT_CREATED
          - ASSIGNMENT_DELETED
          - ASSIGNMENT_PUBLISHED
          - ASSIGNMENT_UPDATED
          - EXPENSE_CREATED
          - EXPENSE_DELETED
          - EXPENSE_UPDATED
          - PROJECT_UPDATED
          - PROJECT_DELETED
          - USER_GROUP_CREATED
          - USER_GROUP_UPDATED
          - USER_GROUP_DELETED
          - USERS_INVITED_TO_WORKSPACE
          - LIMITED_USERS_ADDED_TO_WORKSPACE
          - COST_RATE_UPDATED
          - BILLABLE_RATE_UPDATED
    WebhookLogSearchRequestV1:
      type: object
      properties:
        from:
          type: string
          description: Represents date and time in yyyy-MM-ddThh:mm:ssZ format. If provided, results will include logs which occurred after this value.
          format: date-time
          example: '2023-02-01T13:00:46Z'
        sortByNewest:
          type: boolean
          description: If set to true, logs will be sorted with most recent first.
          default: false
        status:
          type: string
          description: Filters logs by status.
          enum:
          - ALL
          - SUCCEEDED
          - FAILED
        to:
          type: string
          description: Represents date and time in yyyy-MM-ddThh:mm:ssZ format. If provided, results will include logs which occurred before this value.
          format: date-time
          example: '2023-02-05T13:00:46Z'
    WebhookEventType:
      type: object
      description: Represents webhook event type.
      example: NEW_PROJECT
      oneOf:
      - type: string
        enum:
        - NEW_PROJECT
        - NEW_TASK
        - NEW_CLIENT
        - NEW_TIMER_STARTED
        - TIMER_STOPPED
        - TIME_ENTRY_UPDATED
        - TIME_ENTRY_DELETED
        - TIME_ENTRY_SPLIT
        - NEW_TIME_ENTRY
        - TIME_ENTRY_RESTORED
        - NEW_TAG
        - USER_DELETED_FROM_WORKSPACE
        - USER_JOINED_WORKSPACE
        - USER_DEACTIVATED_ON_WORKSPACE
        - USER_ACTIVATED_ON_WORKSPACE
        - USER_EMAIL_CHANGED
        - USER_UPDATED
        - NEW_INVOICE
        - INVOICE_UPDATED
        - NEW_APPROVAL_REQUEST
        - APPROVAL_REQUEST_STATUS_UPDATED
        - TIME_OFF_REQUESTED
        - TIME_OFF_REQUEST_UPDATED
        - TIME_OFF_REQUEST_APPROVED
        - TIME_OFF_REQUEST_REJECTED
        - TIME_OFF_REQUEST_STARTED
        - TIME_OFF_REQUEST_WITHDRAWN
        - BALANCE_UPDATED
        - TAG_UPDATED
        - TAG_DELETED
        - TASK_UPDATED
        - CLIENT_UPDATED
        - TASK_DELETED
        - CLIENT_DELETED
        - EXPENSE_RESTORED
        - ASSIGNMENT_CREATED
        - ASSIGNMENT_DELETED
        - ASSIGNMENT_PUBLISHED
        - ASSIGNMENT_UPDATED
        - EXPENSE_CREATED
        - EXPENSE_DELETED
        - EXPENSE_UPDATED
        - PROJECT_UPDATED
        - PROJECT_DELETED
        - USER_GROUP_CREATED
        - USER_GROUP_UPDATED
        - USER_GROUP_DELETED
        - USERS_INVITED_TO_WORKSPACE
        - LIMITED_USERS_ADDED_TO_WORKSPACE
        - COST_RATE_UPDATED
        - BILLABLE_RATE_UPDATED
      properties:
        APPROVAL_REQUEST_STATUS_UPDATED:
          type: string
          enum:
          - NEW_PROJECT
          - NEW_TASK
          - NEW_CLIENT
          - NEW_TIMER_STARTED
          - TIMER_STOPPED
          - TIME_ENTRY_UPDATED
          - TIME_ENTRY_DELETED
          - TIME_ENTRY_SPLIT
          - NEW_TIME_ENTRY
          - TIME_ENTRY_RESTORED
          - NEW_TAG
          - USER_DELETED_FROM_WORKSPACE
          - USER_JOINED_WORKSPACE
          - USER_DEACTIVATED_ON_WORKSPACE
          - USER_ACTIVATED_ON_WORKSPACE
          - USER_EMAIL_CHANGED
          - USER_UPDATED
          - NEW_INVOICE
          - INVOICE_UPDATED
          - NEW_APPROVAL_REQUEST
          - APPROVAL_REQUEST_STATUS_UPDATED
          - TIME_OFF_REQUESTED
          - TIME_OFF_REQUEST_UPDATED
          - TIME_OFF_REQUEST_APPROVED
          - TIME_OFF_REQUEST_REJECTED
          - TIME_OFF_REQUEST_STARTED
          - TIME_OFF_REQUEST_WITHDRAWN
          - BALANCE_UPDATED
          - TAG_UPDATED
          - TAG_DELETED
          - TASK_UPDATED
          - CLIENT_UPDATED
          - TASK_DELETED
          - CLIENT_DELETED
          - EXPENSE_RESTORED
          - ASSIGNMENT_CREATED
          - ASSIGNMENT_DELETED
          - ASSIGNMENT_PUBLISHED
          - ASSIGNMENT_UPDATED
          - EXPENSE_CREATED
          - EXPENSE_DELETED
          - EXPENSE_UPDATED
          - PROJECT_UPDATED
          - PROJECT_DELETED
          - USER_GROUP_CREATED
          - USER_GROUP_UPDATED
          - USER_GROUP_DELETED
          - USERS_INVITED_TO_WORKSPACE
          - LIMITED_USERS_ADDED_TO_WORKSPACE
          - COST_RATE_UPDATED
          - BILLABLE_RATE_UPDATED
        ASSIGNMENT_CREATED:
          type: string
          enum:
          - NEW_PROJECT
          - NEW_TASK
          - NEW_CLIENT
          - NEW_TIMER_STARTED
          - TIMER_STOPPED
          - TIME_ENTRY_UPDATED
          - TIME_ENTRY_DELETED
          - TIME_ENTRY_SPLIT
          - NEW_TIME_ENTRY
          - TIME_ENTRY_RESTORED
          - NEW_TAG
          - USER_DELETED_FROM_WORKSPACE
          - USER_JOINED_WORKSPACE
          - USER_DEACTIVATED_ON_WORKSPACE
          - USER_ACTIVATED_ON_WORKSPACE
          - USER_EMAIL_CHANGED
          - USER_UPDATED
          - NEW_INVOICE
          - INVOICE_UPDATED
          - NEW_APPROVAL_REQUEST
          - APPROVAL_REQUEST_STATUS_UPDATED
          - TIME_OFF_REQUESTED
          - TIME_OFF_REQUEST_UPDATED
          - TIME_OFF_REQUEST_APPROVED
          - TIME_OFF_REQUEST_REJECTED
          - TIME_OFF_REQUEST_STARTED
          - TIME_OFF_REQUEST_WITHDRAWN
          - BALANCE_UPDATED
          - TAG_UPDATED
          - TAG_DELETED
          - TASK_UPDATED
          - CLIENT_UPDATED
          - TASK_DELETED
          - CLIENT_DELETED
          - EXPENSE_RESTORED
          - ASSIGNMENT_CREATED
          - ASSIGNMENT_DELETED
          - ASSIGNMENT_PUBLISHED
          - ASSIGNMENT_UPDATED
          - EXPENSE_CREATED
          - EXPENSE_DELETED
          - EXPENSE_UPDATED
          - PROJECT_UPDATED
          - PROJECT_DELETED
          - USER_GROUP_CREATED
          - USER_GROUP_UPDATED
          - USER_GROUP_DELETED
          - USERS_INVITED_TO_WORKSPACE
          - LIMITED_USERS_ADDED_TO_WORKSPACE
          - COST_RATE_UPDATED
          - BILLABLE_RATE_UPDATED
        ASSIGNMENT_DELETED:
          type: string
          enum:
          - NEW_PROJECT
          - NEW_TASK
          - NEW_CLIENT
          - NEW_TIMER_STARTED
          - TIMER_STOPPED
          - TIME_ENTRY_UPDATED
          - TIME_ENTRY_DELETED
          - TIME_ENTRY_SPLIT
          - NEW_TIME_ENTRY
          - TIME_ENTRY_RESTORED
          - NEW_TAG
          - USER_DELETED_FROM_WORKSPACE
          - USER_JOINED_WORKSPACE
          - USER_DEACTIVATED_ON_WORKSPACE
          - USER_ACTIVATED_ON_WORKSPACE
          - USER_EMAIL_CHANGED
          - USER_UPDATED
          - NEW_INVOICE
          - INVOICE_UPDATED
          - NEW_APPROVAL_REQUEST
          - APPROVAL_REQUEST_STATUS_UPDATED
          - TIME_OFF_REQUESTED
          - TIME_OFF_REQUEST_UPDATED
          - TIME_OFF_REQUEST_APPROVED
          - TIME_OFF_REQUEST_REJECTED
          - TIME_OFF_REQUEST_STARTED
          - TIME_OFF_REQUEST_WITHDRAWN
          - BALANCE_UPDATED
          - TAG_UPDATED
          - TAG_DELETED
          - TASK_UPDATED
          - CLIENT_UPDATED
          - TASK_DELETED
          - CLIENT_DELETED
          - EXPENSE_RESTORED
          - ASSIGNMENT_CREATED
          - ASSIGNMENT_DELETED
          - ASSIGNMENT_PUBLISHED
          - ASSIGNMENT_UPDATED
          - EXPENSE_CREATED
          - EXPENSE_DELETED
          - EXPENSE_UPDATED
          - PROJECT_UPDATED
          - PROJECT_DELETED
          - USER_GROUP_CREATED
          - USER_GROUP_UPDATED
          - USER_GROUP_DELETED
          - USERS_INVITED_TO_WORKSPACE
          - LIMITED_USERS_ADDED_TO_WORKSPACE
          - COST_RATE_UPDATED
          - BILLABLE_RATE_UPDATED
        ASSIGNMENT_PUBLISHED:
          type: string
          enum:
          - NEW_PROJECT
          - NEW_TASK
          - NEW_CLIENT
          - NEW_TIMER_STARTED
          - TIMER_STOPPED
          - TIME_ENTRY_UPDATED
          - TIME_ENTRY_DELETED
          - TIME_ENTRY_SPLIT
          - NEW_TIME_ENTRY
          - TIME_ENTRY_RESTORED
          - NEW_TAG
          - USER_DELETED_FROM_WORKSPACE
          - USER_JOINED_WORKSPACE
          - USER_DEACTIVATED_ON_WORKSPACE
          - USER_ACTIVATED_ON_WORKSPACE
          - USER_EMAIL_CHANGED
          - USER_UPDATED
          - NEW_INVOICE
          - INVOICE_UPDATED
          - NEW_APPROVAL_REQUEST
          - APPROVAL_REQUEST_STATUS_UPDATED
          - TIME_OFF_REQUESTED
          - TIME_OFF_REQUEST_UPDATED
          - TIME_OFF_REQUEST_APPROVED
          - TIME_OFF_REQUEST_REJECTED
          - TIME_OFF_REQUEST_STARTED
          - TIME_OFF_REQUEST_WITHDRAWN
          - BALANCE_UPDATED
          - TAG_UPDATED
          - TAG_DELETED
          - TASK_UPDATED
          - CLIENT_UPDATED
          - TASK_DELETED
          - CLIENT_DELETED
          - EXPENSE_RESTORED
          - ASSIGNMENT_CREATED
          - ASSIGNMENT_DELETED
          - ASSIGNMENT_PUBLISHED
          - ASSIGNMENT_UPDATED
          - EXPENSE_CREATED
          - EXPENSE_DELETED
          - EXPENSE_UPDATED
          - PROJECT_UPDATED
          - PROJECT_DELETED
          - USER_GROUP_CREATED
          - USER_GROUP_UPDATED
          - USER_GROUP_DELETED
          - USERS_INVITED_TO_WORKSPACE
          - LIMITED_USERS_ADDED_TO_WORKSPACE
          - COST_RATE_UPDATED
          - BILLABLE_RATE_UPDATE

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