Template (Deprecated)

Get template by ID on a workspace

Changed on
get/v1/workspaces/{workspaceId}/templates/{templateId}

Request

  • Base URL: https://api.clockify.me/api
  • URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/templates/{templateId}
  • 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
templateIdstring required

Represents a template identifier across the system.

Example:5b6d45c4b0798751107762b8

Query parameters

cleansedboolean

If set to true will filter out inactive template projects and tasks.

hydratedboolean

If set to true will return hydrated template projects and tasks.

Response

OK

idstring

Represents a template identifier across the system.

namestring

Represents a template name.

userIdstring

Represents a user identifier across the system.

workspaceIdstring

Represents a workspace identifier across the system.

Example response

{
  "id": "5b6d45c4b0798751107762b8",
  "name": "exampleTemplate",
  "userId": "89b687e29ae1f428e7ebe912",
  "workspaceId": "64a687e29ae1f428e7ebe303"
}

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