PostHog Capture API

The PostHog Capture API allows developers to send events, identify users, and set user or group properties from any server or client. It is the primary ingestion endpoint for sending analytics data to PostHog and supports batch event submission, feature flag evaluation, and alias operations for identity resolution.

API entry from apis.yml

apis.yml Raw ↑
aid: posthog:capture-api
name: PostHog Capture API
description: The PostHog Capture API allows developers to send events, identify users, and set user or
  group properties from any server or client. It is the primary ingestion endpoint for sending analytics
  data to PostHog and supports batch event submission, feature flag evaluation, and alias operations for
  identity resolution.
humanURL: https://posthog.com/docs/api/capture
tags:
- Analytics
- Events
- Ingestion
- Tracking
properties:
- type: Documentation
  url: https://posthog.com/docs/api/capture