Task
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
POST | |
PATCH | |
DELETE |
List all task channels
All live public channels plus the requester's personal #me channel (created on first list).
Required API key scopes
task:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /task_channelsExample response
Status 200 List of channels
Create task channels
Returns the existing public channel with the (normalized) name, creating it if needed.
Required API key scopes
task:writeRequest parameters
- namestring
Response
Example request
POST /api /projects /:project_id /task_channelsExample response
Status 200
List all task channels feed
A channel's system announcements in chronological order.
Required API key scopes
task:readPath parameters
- channel_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /task_channels /:channel_id /feedExample response
Status 200 Feed messages, chronological
Create task channels feed
API for a channel's system-announcement feed — durable "PostHog agent" rows (context created, CONTEXT.md being built) rendered alongside the channel's task cards. Read by any team member for a public channel; personal channels are owner-only.
Required API key scopes
task:writePath parameters
- channel_idstring
Request parameters
- event
- payload
- created_atstring
Response
Example request
POST /api /projects /:project_id /task_channels /:channel_id /feedExample response
Status 201
Update task channels
API for task channels — the shared feeds tasks are kicked off in. Listing lazily provisions the requester's personal "#me" channel; creation is resolve-or-create by normalized name so clients can map channel-like surfaces onto backend channels.
Required API key scopes
task:writePath parameters
- idstring
Request parameters
- namestring
Response
Example request
PATCH /api /projects /:project_id /task_channels /:idExample response
Status 200
Delete task channels
API for task channels — the shared feeds tasks are kicked off in. Listing lazily provisions the requester's personal "#me" channel; creation is resolve-or-create by normalized name so clients can map channel-like surfaces onto backend channels.
Required API key scopes
task:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /task_channels /:id