# Posthog

API configurations: [`posthog`](https://terapi.dev/providers.yaml)

### Features

| Features                                                                                                                                        | Status                        |
| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
| [Auth (API Key)](https://github.com/shahab-bahojb-basketAsia/terapi-docs/blob/main/integrate/guides/authorize-an-api/README.md)                 | ✅                             |
| [Sync data](https://github.com/shahab-bahojb-basketAsia/terapi-docs/blob/main/integrate/guides/sync-data-from-an-api/README.md)                 | ✅                             |
| [Perform workflows](https://github.com/shahab-bahojb-basketAsia/terapi-docs/blob/main/integrate/guides/perform-workflows-with-an-api/README.md) | ✅                             |
| [Proxy requests](https://github.com/shahab-bahojb-basketAsia/terapi-docs/blob/main/integrate/guides/proxy-requests-to-an-api/README.md)         | ✅                             |
| [Receive webhooks](https://github.com/shahab-bahojb-basketAsia/terapi-docs/blob/main/integrate/guides/receive-webhooks-from-an-api/README.md)   | 🚫 (time to contribute: <48h) |

We can implement missing features in <48h, just ask for it in the [community](https://terapi.dev/slack).

### Getting started

* [How to obtain a personal API key](https://posthog.com/docs/api#how-to-obtain-a-personal-api-key)
* [Posthog Auth docs](https://posthog.com/docs/api#how-to-authenticate-using-the-personal-api-key)
* [API docs](https://posthog.com/docs/api)

Need help getting started? Get help in the [community](https://terapi.dev/slack).

### API gotchas

* Posthog uses `API_KEY` auth mode with `Authorization: Bearer api_key` as a request header to access different private endpoints.
* Posthog uses different domain extensions codes for different regions, i.e `us` for US cloud, `eu` for EU cloud, and your self-hosted domain for self-hosted instances.
* Posthog enforces different rate limits for different resources. For more details check [posthog rate limits](https://posthog.com/docs/api#rate-limiting)

Add Getting Started links and Gotchas by [editing this page](https://github.com/terapihq/terapi/tree/master/docs-v2/integrations/all/posthog.mdx)
