P

PostHog REST API

REST discovered

Details
URL
https://us.i.posthog.com
Docs
https://posthog.com/docs/api
Authentication
Personal API key Authorization: Bearer <credential> + Personal API key personal_api_key=<credential> discovered
Personal API key bearer Get token ↗

In PostHog, open Personal API keys, click + Create a personal API Key, give it a label, choose the minimum scopes you need, and copy the key immediately because PostHog only shows the secret once. PostHog's API docs say personal API keys are the right choice for your own scripts and automations, while apps for other users should use OAuth instead.