customer_tasks

get/api/projects/{project_id}/customer_tasks/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/customer_tasks/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

account_idstring uuid

Filter by account UUID.

archive_state'active' | 'archived' | 'all'

Which archive state to include.

  • active - active
  • archived - archived
  • all - all
assigned_tostring

Filter by me, unassigned, one user ID, or role:<role UUID>. A role returns tasks assigned to any current member of that organization role.

due_afterstring date-time

Inclusive lower deadline bound.

due_beforestring date-time

Exclusive upper deadline bound.

has_due_atboolean

Filter tasks by whether a deadline exists.

limitinteger

Page size, from 1 to 100.

offsetinteger

Number of rows to skip.

ordering'name' | '-name' | 'status' | '-status' | 'assigned_to' | '-assigned_to' | 'due_at' | '-due_at' | 'updated_at' | '-updated_at' | 'account' | '-account' | 'created_at' | '-created_at'

Sort by task name, status, assignee, deadline, last update, account, or creation time. Prefix with - for descending order.

  • name - name
  • -name - -name
  • status - status
  • -status - -status
  • assigned_to - assigned_to
  • -assigned_to - -assigned_to
  • due_at - due_at
  • -due_at - -due_at
  • updated_at - updated_at
  • -updated_at - -updated_at
  • account - account
  • -account - -account
  • created_at - created_at
  • -created_at - -created_at
searchstring

Search task name and description.

statusesstring

Comma-separated task statuses.

Response

countinteger required

Total number of matching tasks.

nextstring uri nullable required

URL of the next page, if available.

previousstring uri nullable required

URL of the previous page, if available.

Changes

No recorded changes to this operation across all 1 revision of this API.