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

Tallyfy’s API lets you soft-delete (archive) a running process via a DELETE request so it disappears from default views while preserving all tasks and data intact and can be fully restored later using the activate endpoint.

Code Samples > Managing processes (Runs)

The Tallyfy API manages processes (called “runs”) through org-scoped endpoints that cover launching from templates or as empty containers and listing and filtering and fetching details and updating and archiving and restoring and permanently deleting processes along with retrieving activity feeds for audit trails.

Processes > Delete process

Tallyfy’s API lets admins permanently and irreversibly delete an already-archived process run along with all its associated tasks and data by sending a DELETE request to the /runs/[run_id]/delete endpoint with code samples provided in six languages.

Processes > List processes

Tallyfy’s API lets you retrieve a paginated and filterable list of all running process instances in your organization by calling GET on the runs endpoint with optional parameters for status and ownership and tags and sorting and related data inclusion.