task_channels

Provision default channels

Get-or-create the requester's personal #me channel and the team's shared #general channel, and report which of the two this call created. Idempotent.

post/api/projects/{project_id}/task_channels/provision_defaults/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/task_channels/provision_defaults/
  • Auth: one of:
    • HTTP bearer
    • 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/.

Response

The channel list plus which default channels this call created

personal_createdboolean required

Whether this call created the requester's personal #me channel.

general_createdboolean required

Whether this call created the team's shared #general channel. True only for the first user to provision it, so clients can branch first-user setup on it.

Changes

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