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

This API endpoint retrieves process templates (called Checklists in the API) from an organization using a GET request with query parameters for filtering, pagination and search.

Tasks > Get task

Retrieve full details for a specific task by ID, with optional related data like the process run, form fields, step info, and tags.

Processes > Get process

Retrieve details for a specific process run by ID, with optional includes for tasks, form fields, and the next upcoming task.

Tags > Get tag

Retrieve a specific tag’s details by ID within your organization, with an optional statistics include.