customer_tasks

post/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/.

Request body

account_idstring uuid nullable

UUID of a visible account, or null for an accountless task.

namestring required

Task name.

descriptionstring nullable

Task description, or null to leave it empty.

assigned_to_idinteger nullable

PostHog user ID to assign, or null to leave unassigned.

due_atstring date-time nullable

ISO 8601 deadline, or null for no deadline.

status'open' | 'in_progress' | 'completed' | 'canceled'
  • open - Open
  • in_progress - In progress
  • completed - Completed
  • canceled - Canceled

Response

idstring uuid required

UUID of the task.

namestring required

Task name.

descriptionstring nullable required

Task description, if any.

status'open' | 'in_progress' | 'completed' | 'canceled' required
  • open - Open
  • in_progress - In progress
  • completed - Completed
  • canceled - Canceled
due_atstring date-time nullable required

Task deadline, if any.

completed_atstring date-time nullable required

When the task was completed, if applicable.

archived_atstring date-time nullable required

When the task was archived.

created_atstring date-time required

When the task was created.

updated_atstring date-time required

When the task was last updated.

can_editboolean required

Whether the current user can edit this task.

can_restoreboolean required

Whether the current user can restore this task.

Changes

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