provider usersusers GET
/api/users/{uuid}/integrations/ @utdk/posthog
/api/users/{uuid}/integrations/ List the user's personal integrations of a given kind
Return the authenticated user's personal integrations of a given
``kind`` (``github`` or ``slack``).
The response shape varies per kind because the underlying ``UserIntegration``
rows carry different identity fields — GitHub rows expose
``installation_id`` / ``account`` / ``uses_shared_installation``; Slack
rows expose ``slack_user_id`` / ``slack_team_id`` / ``slack_team_name``.
Kind-specific destroy and start actions remain split so their distinct
semantics (e.g. Slack's lack of "uninstall on last reference") stay
explicit at the URL layer.
Default of ``kind=github`` is load-bearing: mobile (``apps/mobile/...``)
and the Code SDK (``packages/api-client/...``) both call this endpoint
without a query param today and rely on receiving GitHub rows.
- kind query
- Integration kind to list. Defaults to `github` for back-compat with mobile and the Code SDK, which call this endpoint without a query param and expect GitHub-shaped items.
- enum: github, slack
- limit query
- Number of results to return per page.
- integer
- offset query
- The initial index from which to return the results.
- integer
- uuid path required
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.usersIntegrationsList()