Skip to content

Get template

Endpoint

GET /organizations/{org_id}/checklists/{checklist_id}

This endpoint retrieves full details for a single process template identified by its unique ID.

Request

Replace {org_id} with your Organization ID and {checklist_id} with the template ID you want to retrieve.

Headers

  • Authorization: Bearer {your_access_token}
  • Accept: application/json
  • X-Tallyfy-Client: APIClient

Query parameters (optional)

  • with (string): A comma-separated list of related data to include. Accepted values are steps, tags, and folder. When steps is included, nested relations like form fields, comments, assigned users, guests, and groups are automatically loaded. Example: with=steps,tags
  • entire_folder_tree (string, "0" or "1"): Include the template’s full folder hierarchy in the response.

Code samples

const accessToken = 'YOUR_PERSONAL_ACCESS_TOKEN';
const orgId = 'YOUR_ORGANIZATION_ID';
const checklistId = 'YOUR_TEMPLATE_ID'; // The ID of the template you want
const queryParams = '?with=steps,tags'; // Example: Include steps and tags
const apiUrl = `https://go.tallyfy.com/api/organizations/${orgId}/checklists/${checklistId}${queryParams}`;
const headers = new Headers();
headers.append('Authorization', `Bearer ${accessToken}`);
headers.append('Accept', 'application/json');
headers.append('X-Tallyfy-Client', 'APIClient');
fetch(apiUrl, {
method: 'GET',
headers: headers
})
.then(response => {
return response.json().then(data => {
if (!response.ok) {
console.error(`Failed to get template ${checklistId}:`, data);
throw new Error(`HTTP error! status: ${response.status}`);
}
return data;
});
})
.then(data => {
console.log(`Successfully retrieved template ${checklistId}:`);
console.log(JSON.stringify(data, null, 2));
})
.catch(error => {
console.error(`Error getting template ${checklistId}:`, error.message);
});

Response

A successful request returns a 200 OK status code and a JSON object with a data field containing the template details.

{
"data": {
"id": "YOUR_TEMPLATE_ID",
"title": "Customer Onboarding Process",
"summary": "Standard process for onboarding new customers.",
"starred": false,
"webhook": null,
"guidance": "Detailed guidance notes here.",
"alias": "customer-onboarding-v2",
"folder_id": null,
"prerun": [
{
"id": "prerun_field_1",
"checklist_id": "YOUR_TEMPLATE_ID",
"alias": "customer_name",
"field_type": "text"
}
],
"created_by": 1001,
"owner_id": 1001,
"kickoff_title": null,
"kickoff_description": null,
"created_at": "2025-01-10T10:00:00.000Z",
"last_updated": "2025-05-15T14:30:00.000Z",
"archived_at": null,
"is_public": false,
"automated_actions": [],
"icon": "fa-users",
"type": "procedure",
"is_public_kickoff": false,
"default_process_name_format": null,
"explanation_video": null,
"status": "active",
"steps": [
{
"id": "step_1_id",
"checklist_id": "YOUR_TEMPLATE_ID",
"alias": "welcome_call",
"title": "Schedule Welcome Call"
}
],
"tags": [
{
"id": "tag_abc",
"title": "Onboarding",
"color": "#3498db"
}
]
}
}

The steps and tags arrays only appear when you request them via the with parameter. Kick-off form fields (prerun) and automation rules (automated_actions) are always included.

If the template isn’t found or you don’t have permission, you’ll get a 404 Not Found error.


Templates > List templates

Tallyfy’s API lets you retrieve a paginated and filterable list of process templates (called “checklists” in the API) for your organization using a GET request with optional query parameters for searching by title and filtering by status or tags or owner along with code examples in JavaScript and Python and Java and Go and C++ and C#.

Tasks > Get task

Tallyfy’s API lets you fetch any single task by its ID using a GET request and optionally include related data like form fields and process run details through query parameters.

Processes > Get process

Tallyfy’s GET endpoint lets you retrieve full details of a specific process run by its ID and optionally include related data like tasks and form fields and tags through query parameters while also supporting a special “next_task” option that returns the earliest-deadline incomplete task for building dashboards or automating notifications.

Tags > Get tag

Tallyfy’s API lets you retrieve a specific tag by its ID using a GET request to /organizations/[org_id]/tags/[tag_id] and optionally include usage statistics showing how many active or archived templates and processes use that tag.