Skip to content
View as Markdown

Connect PostHog with a read-only personal API key. The key is checked, then stored sealed and never returned

POST/v1/autopilot/sources/posthog
Required
Yes
Content type
  • application/json
  • apiKeystringrequired
  • regionstringoptional
    Allowed values: us, eu
    Default: "us"
  • projectIdstringoptional

Schema shown for 200 · application/json

  • siteone of 2 variants
    Show 2 variants
    • object
      Show 4 properties
      • domainstring
      • keystring
      • snippetstring
      • verifiedAtone of 2 variants
        Show 2 variants
        • string
  • posthogone of 2 variants
    Show 2 variants
    • object
      Show 2 properties
      • regionstring
        Allowed values: us, eu
      • projectIdstring
  • stripeone of 2 variants
    Show 2 variants
    • object
      Show 1 property
      • formerCustomersone of 2 variants
        Show 2 variants
        • number