# Task types

A task type defines a process that can be executed as a task on a workset. An example of a task type is `Publishing` or `Validation`. There are two types of external tasks:
- Those that are actions (`isAction: true`) associated with a content type or fragment and executed on a single item in a workset.
- Those executed on an entire workset (`isAction: false`). These external tasks can issue callback requests to send tasks.

 - [DELETE /api/v2/cm/task-types/{taskTypeId}](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/task-types/deletetasktype.md): Deletes a task type using its identifier.
 - [GET /api/v2/cm/task-types/{taskTypeId}](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/task-types/gettasktype.md): Retrieves a specific task type using its identifier.
 - [PUT /api/v2/cm/task-types/{taskTypeId}](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/task-types/updatetasktype.md): Updates a task type using its identifier.
 - [GET /api/v2/cm/task-types](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/task-types/getlisttasktype.md): Lists task types. If you don't specify any filtering parameters, you will retrieve all task types.
 - [POST /api/v2/cm/task-types](https://api-docs.sitecore.com/sai/xm-cloud-content/content-management-api/task-types/addtasktype.md): Creates a new task type.
