Skip to content
Developers

Get reassignment options

GET /organizations/{org_id}/users/{user_id}/reassignment-information/granular-options

This lists the work a member holds in your Tallyfy organization, so you can decide who takes over what before you remove them. It doesn’t change anything.

You’ll need admin permissions. There’s no screen for this in Tallyfy, so you call it through the API.

To act on what it returns, use reassign work and remove member. It takes the item IDs from this answer, so you can send each piece of work to a different person or take it away.

Replace {org_id} with your organization ID. Replace {user_id} with the member’s numeric ID.

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

You don’t need a request body.

const accessToken = 'YOUR_PERSONAL_ACCESS_TOKEN';
const orgId = 'YOUR_ORGANIZATION_ID';
const userId = 12345;
const apiUrl = `https://go.tallyfy.com/api/organizations/${orgId}/users/${userId}/reassignment-information/granular-options`;
fetch(apiUrl, {
method: 'GET',
headers: {
'Authorization': `Bearer ${accessToken}`,
'Accept': 'application/json',
'X-Tallyfy-Client': 'APIClient'
}
})
.then(response => {
if (!response.ok) {
return response.text().then(body => { throw new Error(`${response.status} ${body}`); });
}
return response.json();
})
.then(result => {
const options = result.data.granular_options;
console.log('Open tasks you can reassign or remove:', options.tasks.active_count);
console.log('Tasks that stay with the member:', options.tasks.preserved_count);
console.log(JSON.stringify(options, null, 2));
})
.catch(error => {
console.error(`Error getting reassignment options for member ${userId}:`, error.message);
});

You’ll get 200 OK. Everything comes back in a data object. Its first five keys are a short preview of the member’s work. granular_options holds the full counts and the IDs you can act on.

The preview keys:

  • templates - Up to 10 of their templates, as pairs of template ID and title. It’s an empty list, [], when they have none.
  • steps - Up to 10 template steps they’re assigned to, each with id, alias, title and template_id.
  • processes - Up to 10 of their processes, each with id, template_id and name.
  • process_tasks - Up to 15 of their process tasks that aren’t completed, grouped by process ID. Each has id, run_id, run_name, template_name, name and deadline.
  • one_off_tasks - Up to 10 of their one-off tasks that aren’t completed, each with id, name and deadline.

Under granular_options there’s one entry per type:

  • templates.count - How many templates they created, own or are a member of. Archived templates aren’t counted, and they keep the member as their creator and owner.
  • templates.ownership_falls_back_to_default - Always true. A template always needs a creator and an owner, so if you remove a template instead of reassigning it, those roles still go to your default member. That’s the person who takes whatever you don’t send somewhere else.
  • steps.count - How many template steps they’re assigned to.
  • processes.count - How many processes they started, own or are a member of, not counting archived ones.
  • processes.granular_configurable and processes.reassigned_to_default - Always false and true. You can’t split processes up. All of them go to your default member, archived ones included.
  • tasks.active_count - How many open tasks you can reassign or remove. These are the tasks they’re assigned to, directly or through a group, or created, that aren’t completed, archived or in an archived process.
  • tasks.preserved_count - How many tasks stay with the member. It counts the completed tasks they’re assigned to directly, and the completed tasks, archived tasks and tasks in archived processes they created. Archived tasks and tasks in archived processes they were only assigned to also stay with them, but aren’t counted.
  • tasks.preserves_history - Always true. Completed tasks, archived tasks and tasks in archived processes keep the member, so your records still show who did that work.
  • can_remove and can_reassign on templates, steps and tasks - Always true.

Templates, steps and tasks each have an items list. It holds the IDs you can name, one by one, when you reassign work and remove the member. Templates have id and title. Steps have id, alias, title and template_id. Tasks have id, name, status, run_id and run_name, and run_id and run_name are null for a one-off task. Completed tasks, archived tasks and tasks in archived processes are never in the list.

Each items list stops at 200 entries. When there are more, items_truncated is true, but the counts are still complete. For the items past 200, give a rule for their whole type instead.

{
"data": {
"templates": {
"a1b2c3d4e5f60718293a4b5c6d7e8f90": "Client onboarding"
},
"steps": [
{
"id": "0f1e2d3c4b5a69788796a5b4c3d2e1f0",
"alias": "review-the-contract-104233",
"title": "Review the contract",
"template_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90"
}
],
"processes": [
{
"id": "11223344556677889900aabbccddeeff",
"template_id": "5e6f708192a3b4c5d6e7f8091a2b3c4d",
"name": "Client onboarding - Example Co"
}
],
"process_tasks": {
"11223344556677889900aabbccddeeff": [
{
"id": "9f8e7d6c5b4a39281706f5e4d3c2b1a0",
"run_id": "11223344556677889900aabbccddeeff",
"run_name": "Client onboarding - Example Co",
"template_name": "Client onboarding",
"name": "Send the welcome pack",
"deadline": "2026-12-15T17:00:00Z"
}
]
},
"one_off_tasks": [
{
"id": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
"name": "Renew the software license",
"deadline": "2026-12-20T17:00:00Z"
}
],
"granular_options": {
"templates": {
"count": 1,
"can_remove": true,
"can_reassign": true,
"ownership_falls_back_to_default": true,
"items": [
{
"id": "a1b2c3d4e5f60718293a4b5c6d7e8f90",
"title": "Client onboarding"
}
],
"items_truncated": false
},
"steps": {
"count": 1,
"can_remove": true,
"can_reassign": true,
"items": [
{
"id": "0f1e2d3c4b5a69788796a5b4c3d2e1f0",
"alias": "review-the-contract-104233",
"title": "Review the contract",
"template_id": "a1b2c3d4e5f60718293a4b5c6d7e8f90"
}
],
"items_truncated": false
},
"processes": {
"count": 1,
"granular_configurable": false,
"reassigned_to_default": true
},
"tasks": {
"active_count": 2,
"preserved_count": 14,
"can_remove": true,
"can_reassign": true,
"preserves_history": true,
"items": [
{
"id": "9f8e7d6c5b4a39281706f5e4d3c2b1a0",
"name": "Send the welcome pack",
"status": "not-started",
"run_id": "11223344556677889900aabbccddeeff",
"run_name": "Client onboarding - Example Co"
},
{
"id": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
"name": "Renew the software license",
"status": "in-progress",
"run_id": null,
"run_name": null
}
],
"items_truncated": false
}
}
}
}

The 403 body is plain text. The 404 body is JSON, with the text in message.

StatusError messageWhat to do
403Forbidden.Only an administrator can call this. Use an administrator’s access token.
404Resource not foundThe user ID isn’t a member of this organization. Check the ID.

Members > Remove member

Tallyfy’s API lets you deactivate a member from your organization using a DELETE request, and…