Template (Deprecated)

Get all templates on a workspace

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

Request

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

Query parameters

namestring

If provided, you'll get a filtered list of templates that contain the provided string in their name.

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.

pageinteger
page-sizeinteger

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

    • breaking

      for the query request parameter name, default value was added

    • 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