Skip to content

Activate process

Endpoint

PUT /organizations/{org_id}/runs/{run_id}/activate

This endpoint restores a previously archived process (called a “run” in the API). Once restored, the run’s archived_at field becomes null and it reappears in default views.

Request

Replace {org_id} with your Organization ID and {run_id} with the run ID you want to restore.

Headers

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

Body

No request body is needed.

Code samples

const accessToken = 'YOUR_PERSONAL_ACCESS_TOKEN';
const orgId = 'YOUR_ORGANIZATION_ID';
const runId = 'PROCESS_RUN_ID_TO_ACTIVATE';
const apiUrl = `https://go.tallyfy.com/api/organizations/${orgId}/runs/${runId}/activate`;
const headers = new Headers();
headers.append('Authorization', `Bearer ${accessToken}`);
headers.append('Accept', 'application/json');
headers.append('X-Tallyfy-Client', 'APIClient');
fetch(apiUrl, {
method: 'PUT',
headers: headers
})
.then(response => {
return response.json().then(data => {
if (!response.ok) {
console.error(`Failed to activate process ${runId}:`, data);
throw new Error(`HTTP error! status: ${response.status}`);
}
console.log(`Activated process ${runId}. Status: ${response.status}`);
return data;
});
})
.then(data => {
console.log('Activated process details:');
console.log(JSON.stringify(data, null, 2));
})
.catch(error => {
console.error(`Error activating process ${runId}:`, error.message);
});

Response

A successful request returns 200 OK with the restored run wrapped in a data object. The archived_at field will be null, and status retains whatever value it had before archiving (e.g., active, complete, or problem).

{
"data": {
"id": "PROCESS_RUN_ID_TO_ACTIVATE",
"checklist_id": "template_id_here",
"name": "Restored Project Run",
"status": "active",
"archived_at": null,
"started_at": "2025-01-15T10:00:00.000Z",
"last_updated": "2025-06-20T14:30:00.000Z"
}
}

If the run ID isn’t found or you don’t have access, you’ll get a 404 or 403 error.


Processes > Archive process

Archive a Tallyfy process (run) using a DELETE request, which soft-deletes it from default views while preserving all data for future restoration.

Processes > Delete process

The DELETE endpoint permanently removes an archived process and all its associated data including tasks, comments, and form values with no recovery option.

Processes > List processes

Retrieve and filter process instances in a Tallyfy organization using a GET API endpoint with query parameters for status, owners, templates, tags, and more - with code examples in JavaScript, Python, Java, Go, C++, and C#.