Create Tasks from Templates in ClickUp via API
The ClickUp API lets you quickly create standardized tasks from templates so your workflows stay consistent and easy to automate across teams and projects.
This how-to guide walks you through the Create Task From Template endpoint, required parameters, request body options, and best practices to integrate it safely into your automation or backend services.
Overview of the ClickUp task template endpoint
The Create Task From Template operation is an HTTP POST request that generates a new task from an existing template inside a specific list. The base endpoint is:
POST https://api.clickup.com/api/v2/list/{list_id}/taskTemplate/{template_id}
Use this when you already have a task template configured and you want to spin up a new task that inherits most of that template's configuration.
Prerequisites for using the ClickUp API
Before calling this endpoint, confirm the following:
- You have a valid ClickUp API token with access to the target workspace.
- You know the
list_idwhere the new task will be created. - You know the
template_idof the task template you want to use. - Your integration or script can send HTTPS requests with custom headers.
Tokens are sent via the Authorization header, and all requests must use HTTPS.
ClickUp endpoint path parameters
The path contains two required parameters:
- list_id: The numeric ID of the list where the new task will be created.
- template_id: The ID of the task template that will be cloned to produce the new task.
Both parameters are part of the URL path and must be URL-safe. They are not passed as query parameters for this specific ClickUp operation.
Required headers for ClickUp API requests
Every request to this endpoint needs these headers:
Authorization: Your personal or app token.Content-Type: application/json
Example header structure:
Authorization: pk_xxxxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json
ClickUp request body structure
The request body is a JSON object with a combination of required and optional keys. While the template provides most settings, you can customize certain properties of the new task.
Core fields to override from the ClickUp template
These are some of the most common fields you may include in the body:
name(string): New task name if you want to override the template's name.description(string): Task description, supports rich content encoded as HTML or markdown-like text.assignees(array): User IDs to assign to the task.tags(array): Tag names to apply to the task.priority(integer): Priority value supported by the workspace.due_date(integer): Unix timestamp in milliseconds.start_date(integer): Unix timestamp in milliseconds.notify_all(boolean): Whether to send notifications on task creation.
These values are applied on top of the attributes inherited from the template.
Example JSON body for a ClickUp task
Below is a representative request body:
{
"name": "Onboard new client from template",
"description": "Auto-created from predefined onboarding template.",
"assignees": [12345678],
"tags": ["onboarding", "priority-client"],
"priority": 2,
"due_date": 1735689600000,
"start_date": 1735084800000,
"notify_all": true
}
Adapt this to match the fields and conventions used in your workspace.
Step-by-step: create a task from a ClickUp template
Use the following steps to test and then automate the endpoint.
1. Locate your ClickUp list ID
- Open the target list in your workspace.
- Use the browser address bar or other API endpoints (for example, list lookup) to obtain the
list_id.
2. Retrieve the ClickUp template ID
- Find the task template in your workspace.
- Use the relevant template-management API or export features to identify its
template_id, or copy it from the developer tools view if documented by your internal team.
3. Build the HTTP request
- Set the method to
POST. - Construct the URL with your IDs:
https://api.clickup.com/api/v2/list/<list_id>/taskTemplate/<template_id> - Add headers:
Authorizationwith your token.Content-Type: application/json
- Create the JSON body with any overrides, as described earlier.
4. Send the request and validate the ClickUp response
- Send the request using a tool like cURL, Postman, or your own code.
- Inspect the HTTP status code:
- 2xx range: Task was created successfully.
- 4xx range: Check authentication, permissions, or body format.
- 5xx range: Temporary server error; try again later.
- Review the response JSON to confirm the new task ID, name, and other properties.
Handling responses from the ClickUp API
The response body returns a full task object similar to what other task endpoints provide. This typically includes:
id: Unique task ID for future operations.name: Final task name after template and overrides are applied.status,priority,assignees: Current configuration.url: Direct link to the task in the web interface.
Store the id or url if you plan to update the task later using other ClickUp endpoints.
ClickUp error handling and common pitfalls
If the request fails, the response generally contains an error message and code. Common issues include:
- Missing or invalid
Authorizationheader. - Using a
list_idortemplate_idthe token cannot access. - Sending malformed JSON in the request body.
- Attempting to override fields not supported in the endpoint version.
When building production integrations, implement retries for transient errors and detailed logging for easier debugging of ClickUp API calls.
Best practices for using ClickUp templates programmatically
To get reliable results and maintainable code, keep these practices in mind:
- Centralize template management: Keep a documented list of template names and IDs used by your automation.
- Validate required overrides: Before sending the request, confirm that fields like
assigneesordue_dateare present when your workflow depends on them. - Respect rate limits: If you trigger many tasks from templates at once, pace your calls so you stay within ClickUp limits.
- Log task IDs: Persist all created task IDs for downstream reporting or updates.
Official ClickUp documentation and further learning
Always confirm field availability, optional parameters, and the latest behavior in the official reference for this endpoint here: Create Task From Template API reference.
For broader implementation strategies, automation design, and tooling recommendations that complement your ClickUp setup, you can review detailed technical guides and consulting services at Consultevo.
By combining robust task templates with this API endpoint, your engineering and operations teams can standardize processes, minimize manual setup, and scale your ClickUp workspace with confidence.
Need Help With ClickUp?
If you want expert help building, automating, or scaling your ClickUp workspace, work with ConsultEvo — trusted ClickUp Solution Partners.
“`
