# ProofHub

> Manage ProofHub projects, task lists, tasks, discussions, events and time entries.

App · 28 actions. Web page: https://docs.lodol.com/docs/integrations/proofhub

## Actions

### Add a task comment

Comment on a task.

**Inputs**

- Project (`project_id`, text, required): The project.
- Task list (`list_id`, text, required): The task list.
- Task (`task_id`, text, required): The task.
- Comment (`description`, text, required): The comment.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "by_me": true,
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "description": "example",
    "id": 1,
    "list": {
      "id": 1
    },
    "project": {
      "id": 1
    },
    "task": {
      "id": 1
    }
  }
}
```

### Create a discussion

Start a discussion topic in a project.

**Inputs**

- Project (`project_id`, text, required): The project.
- Title (`title`, text, required): The topic's title.
- Description (`description`, text): What to discuss.
- Private (`private`, true/false): Only the people assigned can see it.
- People (`assigned`, list): People in the discussion.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "archived": true,
    "assigned": [
      1
    ],
    "comments": {
      "count": 1
    },
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "description": "example",
    "id": 1,
    "pinned": true,
    "private": true,
    "project": {
      "id": 1
    },
    "title": "example",
    "updated_at": "example"
  }
}
```

### Create a project

Create a project.

**Inputs**

- Title (`title`, text, required): The project's name.
- Description (`description`, text): What the project is about.
- Category (`category`, number): The project's category.
- Start date (`start_date`, date): When the project starts.
- End date (`end_date`, date): When the project ends.
- Manager (`manager`, number): The project manager.
- Assignees (`assigned`, list): People on the project.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "archived": true,
    "assigned": [
      1
    ],
    "category": {
      "id": 1
    },
    "color": "example",
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "description": "example",
    "end_date": "example",
    "favourite": true,
    "id": 1,
    "manager": {
      "id": 1
    },
    "modified_at": "example",
    "sample_project": true,
    "start_date": "example",
    "status": 1,
    "template": true,
    "title": "example"
  }
}
```

### Create a task

Create a task in a task list.

**Inputs**

- Project (`project_id`, text, required): The project.
- Task list (`list_id`, text, required): The task list.
- Title (`title`, text, required): The task's title.
- Description (`description`, text): The task's details.
- Start date (`start_date`, date): When work starts.
- Due date (`due_date`, date): When the task is due.
- Estimated hours (`estimated_hours`, number): Estimated time: the hours. At least 0.
- Estimated minutes (`estimated_mins`, number): Estimated time: the minutes, 0 to 59. From 0 to 59.
- Assignees (`assigned`, list): People the task is assigned to.
- Labels (`labels`, list): Labels on the task.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "assigned": [
      1
    ],
    "comments": 1,
    "completed": true,
    "completed_at": "example",
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "custom_fields": [
      {
        "description": "example",
        "id": 1,
        "title": "example",
        "type": "example",
        "value": "example"
      }
    ],
    "description": "example",
    "due_date": "example",
    "estimated_hours": 1,
    "estimated_mins": 1,
    "id": 1,
    "labels": [
      1
    ],
    "list": {
      "id": 1,
      "name": "example"
    },
    "logged_hours": 1,
    "logged_mins": 1,
    "percent_progress": 1,
    "project": {
      "id": 1,
      "name": "example"
    },
    "stage": {
      "id": 1,
      "name": "example"
    },
    "start_date": "example",
    "sub_tasks": 1,
    "ticket": "example",
    "title": "example",
    "updated_at": "example",
    "workflow": {
      "id": 1,
      "name": "example"
    }
  }
}
```

### Create a task list

Create a task list in a project.

**Inputs**

- Project (`project_id`, text, required): The project.
- Title (`title`, text, required): The task list's name.
- Private (`private`, true/false): Only the people assigned can see it.
- Time tracking (`time_tracking`, true/false): Track time on its tasks.
- Show in Gantt (`show_in_gantt`, true/false): Show it on the Gantt chart.
- Assignees (`assigned`, list): People assigned to the task list.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "archived": true,
    "assigned": [
      1
    ],
    "completed_count": 1,
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "id": 1,
    "milestone": {
      "id": 1
    },
    "private": true,
    "project": {
      "id": 1
    },
    "remaining_count": 1,
    "show_in_gantt": true,
    "time_tracking": true,
    "title": "example",
    "updated_at": "example"
  }
}
```

### Create a timesheet

Create a timesheet in a project.

**Inputs**

- Project (`project_id`, text, required): The project.
- Title (`title`, text, required): The timesheet's name.
- Estimated hours (`estimated_hours`, number): Estimated time: the hours. At least 0.
- Estimated minutes (`estimated_mins`, number): Estimated time: the minutes, 0 to 59. From 0 to 59.
- Private (`private`, true/false): Only the people assigned can see it.
- Assignees (`assigned`, list): People who log time on it.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "archived": true,
    "assigned": [
      1
    ],
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "estimated_hours": 1,
    "estimated_mins": 1,
    "id": 1,
    "logged_hours": 1,
    "logged_mins": 1,
    "private": true,
    "project": {
      "id": 1
    },
    "title": "example",
    "updated_at": "example"
  }
}
```

### Create an event or milestone

Add an event or milestone to a project's calendar. Give dates for an all-day event, or times for a timed one.

**Inputs**

- Project (`project_id`, text, required): The project.
- Title (`title`, text, required): The event's title.
- Description (`description`, text): The event's details.
- Start date (`start_date`, date): The day an all-day event or milestone starts.
- End date (`end_date`, date): The day an all-day event ends.
- Start time (`start_time`, date and time): When a timed event starts.
- End time (`end_time`, date and time): When a timed event ends.
- Milestone (`milestone`, true/false): Make it a milestone.
- Reminder (minutes before) (`reminder`, number): Email the people assigned this many minutes before it starts. At least 0.
- Private (`private`, true/false): Only the people assigned can see it.
- Assignees (`assigned`, list): People invited.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "all_day": true,
    "assigned": [
      1
    ],
    "completed": true,
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "description": "example",
    "end": "example",
    "id": 1,
    "milestone": true,
    "private": true,
    "project": {
      "id": 1,
      "name": "example"
    },
    "reminder": 1,
    "start": "example",
    "title": "example",
    "updated_at": "example"
  }
}
```

### Delete a project

Delete a project and everything in it.

**Inputs**

- Project (`project_id`, text, required): The project.

**Outputs**

- `data` (object): Empty: ProofHub answers 204.

**Example output**

```json
{
  "data": {}
}
```

### Delete a task

Delete a task.

**Inputs**

- Project (`project_id`, text, required): The project.
- Task list (`list_id`, text, required): The task list.
- Task (`task_id`, text, required): The task.

**Outputs**

- `data` (object): Empty: ProofHub answers 204.

**Example output**

```json
{
  "data": {}
}
```

### Delete an event or milestone

Delete an event or milestone.

**Inputs**

- Project (`project_id`, text, required): The project.
- Event (`event_id`, text, required): The event.

**Outputs**

- `data` (object): Empty: ProofHub answers 204.

**Example output**

```json
{
  "data": {}
}
```

### Get a person

Get one person in the ProofHub account.

**Inputs**

- Person (`person_id`, text, required): The person.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "email": "example",
    "first_name": "example",
    "groups": [
      1
    ],
    "id": 1,
    "image_url": "example",
    "initials": "example",
    "language": "example",
    "last_active": "example",
    "last_name": "example",
    "profile_color": "example",
    "projects": [
      1
    ],
    "role": {
      "id": 1
    },
    "suspended": true,
    "timezone": 1,
    "title": "example",
    "updated_at": "example"
  }
}
```

### Get a project

Get one project.

**Inputs**

- Project (`project_id`, text, required): The project.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "archived": true,
    "assigned": [
      1
    ],
    "category": {
      "id": 1
    },
    "color": "example",
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "description": "example",
    "end_date": "example",
    "favourite": true,
    "id": 1,
    "manager": {
      "id": 1
    },
    "modified_at": "example",
    "sample_project": true,
    "start_date": "example",
    "status": 1,
    "template": true,
    "title": "example"
  }
}
```

### Get a task

Get one task.

**Inputs**

- Project (`project_id`, text, required): The project.
- Task list (`list_id`, text, required): The task list.
- Task (`task_id`, text, required): The task.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "assigned": [
      1
    ],
    "comments": 1,
    "completed": true,
    "completed_at": "example",
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "custom_fields": [
      {
        "description": "example",
        "id": 1,
        "title": "example",
        "type": "example",
        "value": "example"
      }
    ],
    "description": "example",
    "due_date": "example",
    "estimated_hours": 1,
    "estimated_mins": 1,
    "id": 1,
    "labels": [
      1
    ],
    "list": {
      "id": 1,
      "name": "example"
    },
    "logged_hours": 1,
    "logged_mins": 1,
    "percent_progress": 1,
    "project": {
      "id": 1,
      "name": "example"
    },
    "stage": {
      "id": 1,
      "name": "example"
    },
    "start_date": "example",
    "sub_tasks": 1,
    "ticket": "example",
    "title": "example",
    "updated_at": "example",
    "workflow": {
      "id": 1,
      "name": "example"
    }
  }
}
```

### List all tasks

List tasks across the account, up to 100 at a time, with filters.

**Inputs**

- Projects (`projects`, list): Only tasks in these projects.
- Assigned to (`assigned`, list): Only tasks assigned to these people.
- Labels (`labels`, list): Only tasks with these labels.
- Include completed (`completed`, true/false): Include completed tasks as well as open ones.
- Include subtasks (`include_subtasks`, true/false): Include subtasks. ProofHub includes them unless this is off.
- Include unassigned (`include_unassigned`, true/false): Include unassigned tasks. ProofHub includes them unless this is off.
- Start at (`start`, number): How many tasks to skip, for the next page. At least 0.
- Limit (`limit`, number): How many tasks to return, up to 100 (the default). From 1 to 100.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "todos": [
      {
        "assigned": [
          1
        ],
        "comments": 1,
        "completed": true,
        "completed_at": "example",
        "created_at": "example",
        "creator": {
          "id": 1
        },
        "custom_fields": [
          {
            "description": "example",
            "id": 1,
            "title": "example",
            "type": "example",
            "value": "example"
          }
        ],
        "description": "example",
        "due_date": "example",
        "estimated_hours": 1,
        "estimated_mins": 1,
        "id": 1,
        "labels": [
          1
        ],
        "list": {
          "id": 1,
          "name": "example"
        },
        "logged_hours": 1,
        "logged_mins": 1,
        "percent_progress": 1,
        "project": {
          "id": 1,
          "name": "example"
        },
        "stage": {
          "id": 1,
          "name": "example"
        },
        "start_date": "example",
        "sub_tasks": 1,
        "ticket": "example",
        "title": "example",
        "updated_at": "example",
        "workflow": {
          "id": 1,
          "name": "example"
        }
      }
    ],
    "total_count": 1
  }
}
```

### List discussions

List a project's discussion topics.

**Inputs**

- Project (`project_id`, text, required): The project.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "archived": true,
      "assigned": [
        1
      ],
      "comments": {
        "count": 1
      },
      "created_at": "example",
      "creator": {
        "id": 1
      },
      "description": "example",
      "id": 1,
      "pinned": true,
      "private": true,
      "project": {
        "id": 1
      },
      "title": "example",
      "updated_at": "example"
    }
  ]
}
```

### List events and milestones

List a project's events, milestones or both.

**Inputs**

- Project (`project_id`, text, required): The project.
- Show (`view`, text, required): Events, milestones or all of both. One of: `all`, `events`, `milestones`.
- From (`start_date`, date): Only from this date.
- Until (`end_date`, date): Only until this date.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "all_day": true,
      "assigned": [
        1
      ],
      "completed": true,
      "created_at": "example",
      "creator": {
        "id": 1
      },
      "description": "example",
      "end": "example",
      "id": 1,
      "milestone": true,
      "private": true,
      "project": {
        "id": 1,
        "name": "example"
      },
      "reminder": 1,
      "start": "example",
      "title": "example",
      "updated_at": "example"
    }
  ]
}
```

### List labels

List the labels tasks can have.

**Inputs**: None.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "color": "example",
      "id": 1,
      "name": "example"
    }
  ]
}
```

### List people

List everyone in the ProofHub account.

**Inputs**: None.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "created_at": "example",
      "email": "example",
      "first_name": "example",
      "groups": [
        1
      ],
      "id": 1,
      "image_url": "example",
      "initials": "example",
      "language": "example",
      "last_active": "example",
      "last_name": "example",
      "profile_color": "example",
      "projects": [
        1
      ],
      "role": {
        "id": 1
      },
      "suspended": true,
      "timezone": 1,
      "title": "example",
      "updated_at": "example"
    }
  ]
}
```

### List project categories

List the categories projects are filed under.

**Inputs**: None.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "default": true,
      "id": 1,
      "name": "example"
    }
  ]
}
```

### List projects

List every project the connected person can see.

**Inputs**: None.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "archived": true,
      "assigned": [
        1
      ],
      "category": {
        "id": 1
      },
      "color": "example",
      "created_at": "example",
      "creator": {
        "id": 1
      },
      "description": "example",
      "end_date": "example",
      "favourite": true,
      "id": 1,
      "manager": {
        "id": 1
      },
      "modified_at": "example",
      "sample_project": true,
      "start_date": "example",
      "status": 1,
      "template": true,
      "title": "example"
    }
  ]
}
```

### List task comments

List the comments on a task.

**Inputs**

- Project (`project_id`, text, required): The project.
- Task list (`list_id`, text, required): The task list.
- Task (`task_id`, text, required): The task.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "by_me": true,
      "created_at": "example",
      "creator": {
        "id": 1
      },
      "description": "example",
      "id": 1,
      "list": {
        "id": 1
      },
      "project": {
        "id": 1
      },
      "task": {
        "id": 1
      }
    }
  ]
}
```

### List task lists

List a project's task lists.

**Inputs**

- Project (`project_id`, text, required): The project.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "archived": true,
      "assigned": [
        1
      ],
      "completed_count": 1,
      "created_at": "example",
      "creator": {
        "id": 1
      },
      "id": 1,
      "milestone": {
        "id": 1
      },
      "private": true,
      "project": {
        "id": 1
      },
      "remaining_count": 1,
      "show_in_gantt": true,
      "time_tracking": true,
      "title": "example",
      "updated_at": "example"
    }
  ]
}
```

### List tasks in a task list

List the tasks in one task list.

**Inputs**

- Project (`project_id`, text, required): The project.
- Task list (`list_id`, text, required): The task list.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "assigned": [
        1
      ],
      "comments": 1,
      "completed": true,
      "completed_at": "example",
      "created_at": "example",
      "creator": {
        "id": 1
      },
      "custom_fields": [
        {
          "description": "example",
          "id": 1,
          "title": "example",
          "type": "example",
          "value": "example"
        }
      ],
      "description": "example",
      "due_date": "example",
      "estimated_hours": 1,
      "estimated_mins": 1,
      "id": 1,
      "labels": [
        1
      ],
      "list": {
        "id": 1,
        "name": "example"
      },
      "logged_hours": 1,
      "logged_mins": 1,
      "percent_progress": 1,
      "project": {
        "id": 1,
        "name": "example"
      },
      "stage": {
        "id": 1,
        "name": "example"
      },
      "start_date": "example",
      "sub_tasks": 1,
      "ticket": "example",
      "title": "example",
      "updated_at": "example",
      "workflow": {
        "id": 1,
        "name": "example"
      }
    }
  ]
}
```

### List time entries

List time logged across the account, up to 100 at a time, with filters.

**Inputs**

- Projects (`project_ids`, list): Only time logged in these projects.
- Person (`person_id`, text): Only time logged by this person.
- Status (`status`, text): Only time with this billing status. One of: `none`, `billable`, `non-billable`, `billed`, `void`.
- From (`from_date`, date): Only time logged on or after this date.
- Until (`to_date`, date): Only time logged on or before this date.
- Order (`order`, text): Oldest first (asc) or newest first (desc). One of: `asc`, `desc`.
- Start at (`start`, number): How many entries to skip, for the next page. At least 0.
- Limit (`limit`, number): How many entries to return, up to 100. From 1 to 100.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "created_at": "example",
      "creator": 1,
      "date": "example",
      "description": "example",
      "id": 1,
      "logged_hours": 1,
      "logged_mins": 1,
      "project": 1,
      "project_name": "example",
      "status": "example",
      "timer": true,
      "timesheet": {
        "id": 1,
        "title": "example"
      }
    }
  ]
}
```

### List timesheets

List a project's timesheets.

**Inputs**

- Project (`project_id`, text, required): The project.

**Outputs**

- `data` (list): The response from ProofHub.

**Example output**

```json
{
  "data": [
    {
      "archived": true,
      "assigned": [
        1
      ],
      "created_at": "example",
      "creator": {
        "id": 1
      },
      "estimated_hours": 1,
      "estimated_mins": 1,
      "id": 1,
      "logged_hours": 1,
      "logged_mins": 1,
      "private": true,
      "project": {
        "id": 1
      },
      "title": "example",
      "updated_at": "example"
    }
  ]
}
```

### Log time

Add a time entry to a timesheet, optionally against a task.

**Inputs**

- Project (`project_id`, text, required): The project.
- Timesheet (`timesheet_id`, text, required): The timesheet.
- Date (`date`, date, required): The day the time was spent.
- Hours (`logged_hours`, number): Hours spent. At least 0.
- Minutes (`logged_mins`, number): Minutes spent, 0 to 59. From 0 to 59.
- Status (`status`, text): The entry's billing status. One of: `none`, `billable`, `non-billable`, `billed`, `void`.
- Description (`description`, text): What the time was spent on.
- Task list (`list_id`, number): The task's list, to log the time against a task.
- Task (`task_id`, number): The task the time was spent on. Choose its task list too.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "creator": 1,
    "date": "example",
    "description": "example",
    "id": 1,
    "logged_hours": 1,
    "logged_mins": 1,
    "project": 1,
    "project_name": "example",
    "status": "example",
    "timer": true,
    "timesheet": {
      "id": 1,
      "title": "example"
    }
  }
}
```

### Update a project

Change a project's details. Empty fields are left as they are.

**Inputs**

- Project (`project_id`, text, required): The project.
- Title (`title`, text): The project's name.
- Description (`description`, text): What the project is about.
- Category (`category`, number): The project's category.
- Start date (`start_date`, date): When the project starts.
- End date (`end_date`, date): When the project ends.
- Manager (`manager`, number): The project manager.
- Assignees (`assigned`, list): People on the project.
- Archived (`archived`, true/false): Archive (on) or restore (off) the project.

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "archived": true,
    "assigned": [
      1
    ],
    "category": {
      "id": 1
    },
    "color": "example",
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "description": "example",
    "end_date": "example",
    "favourite": true,
    "id": 1,
    "manager": {
      "id": 1
    },
    "modified_at": "example",
    "sample_project": true,
    "start_date": "example",
    "status": 1,
    "template": true,
    "title": "example"
  }
}
```

### Update a task

Change a task, or mark it complete or open again. Empty fields are left as they are.

**Inputs**

- Project (`project_id`, text, required): The project.
- Task list (`list_id`, text, required): The task list.
- Task (`task_id`, text, required): The task.
- Title (`title`, text): The task's title.
- Description (`description`, text): The task's details.
- Start date (`start_date`, date): When work starts.
- Due date (`due_date`, date): When the task is due.
- Estimated hours (`estimated_hours`, number): Estimated time: the hours. At least 0.
- Estimated minutes (`estimated_mins`, number): Estimated time: the minutes, 0 to 59. From 0 to 59.
- Assignees (`assigned`, list): People the task is assigned to.
- Labels (`labels`, list): Labels on the task.
- Completed (`completed`, true/false): Mark the task complete (on) or open again (off).

**Outputs**

- `data` (object): The response from ProofHub.

**Example output**

```json
{
  "data": {
    "assigned": [
      1
    ],
    "comments": 1,
    "completed": true,
    "completed_at": "example",
    "created_at": "example",
    "creator": {
      "id": 1
    },
    "custom_fields": [
      {
        "description": "example",
        "id": 1,
        "title": "example",
        "type": "example",
        "value": "example"
      }
    ],
    "description": "example",
    "due_date": "example",
    "estimated_hours": 1,
    "estimated_mins": 1,
    "id": 1,
    "labels": [
      1
    ],
    "list": {
      "id": 1,
      "name": "example"
    },
    "logged_hours": 1,
    "logged_mins": 1,
    "percent_progress": 1,
    "project": {
      "id": 1,
      "name": "example"
    },
    "stage": {
      "id": 1,
      "name": "example"
    },
    "start_date": "example",
    "sub_tasks": 1,
    "ticket": "example",
    "title": "example",
    "updated_at": "example",
    "workflow": {
      "id": 1,
      "name": "example"
    }
  }
}
```
