integrations

get/api/projects/{project_id}/integrations/{id}/channels/

Request

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

Path parameters

idinteger required

A unique integer value identifying this integration.

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

channel_idstring

Look up one channel directly by Slack channel ID (e.g. C0123ABC). When set, search, limit, and offset are ignored and the response holds at most that channel.

force_refreshboolean

Bypass the 1 hour channel cache, including for a channel_id lookup, which is how a caller reads the channel's current membership after inviting the app to it. Honored only for browser session callers; API key, OAuth, and MCP callers always read through the cache.

limitinteger

Maximum number of channels to return per request (max 200).

offsetinteger

Number of channels to skip before returning results.

searchstring

Optional case-insensitive channel name or ID search query.

Response

lastRefreshedAtstring nullable

ISO 8601 timestamp of the last full Slack API refresh (only set on full lists, not single-channel lookups).

has_moreboolean

Whether more channels match the current search beyond this page.

Changes

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