---
title: "Add Posthog Connection"
method: POST
path: "/api/connections/posthog"
---

# Add Posthog Connection

`POST /api/connections/posthog`

## Request

- Base URL: `https://fluxito.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fluxito.app/api/connections/posthog`
- Auth: none declared

Securely stores PostHog API credentials.

## Request body

- PostHogUploadRequest
  - `display_name` string, required
  - `api_key` string, required
  - `project_host` string, required
  - `external_project_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fluxito/apis/fluxito-platform.md) · [All operations](https://skmtc.dev/fluxito/apis/fluxito-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fluxito/apis/fluxito-platform/revisions/d558e1fe9a04?raw)
