provider usersusers GET /api/users/{uuid}/integrations/slack/linkable_workspaces/
@utdk/posthog /api/users/{uuid}/integrations/slack/linkable_workspaces/
List Slack workspaces this user could link to
Return Slack workspaces in the user's organizations that they have not yet linked. The settings UI uses this list to decide whether to show a "Link my Slack account" button (non-empty list) and what to offer in the picker when several are connectable.
uuid path required
string

Try it

Authentication
Configure credentials for PostHog API
usersIntegrationsSlackLinkableWorkspacesRetrieve
GET/api/users/{uuid}/integrations/slack/linkable_workspaces/
Return Slack workspaces in the user's organizations that they have not yet linked. The settings UI uses this list to decide whether to show a "Link my Slack account" button (non-empty list) and what to offer in the picker when several are connectable.

Parameters

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.usersIntegrationsSlackLinkableWorkspacesRetrieve()