PostHog API

Utility Tools · Analytics & Marketing

All-in-one product analytics, session replays, feature flags & A/B testing with 1M free events/mo

PostHog API Highlights

PostHog API is best for product managers, founders, and engineers seeking all-in-one product analytics, heatmaps, and feature flags

Last Verified

Authentication

Project API Key (Client) / Personal API Key (Server)

Rate Limit

High-throughput event ingestion queue with global CDN endpoints

Sandbox Mode
✓ Available
Webhooks
Not verified yet
Supported Regions
NigeriaNigeriaGhanaGhanaKenyaKenya
Alternative African Company to

PostHog is the all-in-one product analytics and developer platform built specifically for engineers and product teams. It combines product analytics, event tracking, full session replays, feature flag rollouts, A/B testing experimentation, user surveys, and data pipelines into a single integrated platform.

With an industry-leading free tier providing 1,000,000 events and 5,000 session recordings every month, PostHog eliminates the need to stitch together multiple expensive tracking vendors like Mixpanel, Hotjar, and LaunchDarkly. js, Python, iOS, and Android.

PostHog API Core Features & Capabilities

FeatureStatusDescription & Capabilities
Delivery Reports & Status Tracking✓ SupportedReal-time delivery receipts (DLR) and status callbacks for outbound messages and requests.
Bulk SMS✗ Not SupportedSend high-throughput promotional and transactional SMS across all Nigerian telecom networks. (Not supported by PostHog API).
OTP / Transactional SMS✗ Not SupportedDeliver high-priority one-time passwords and verification codes with guaranteed low latency. (Not supported by PostHog API).
Custom Sender ID (NCC Registered)✗ Not SupportedDispatch messages from custom alphanumeric branded sender names registered with the NCC. (Not supported by PostHog API).
WhatsApp Business API✗ Not SupportedSend rich template messages, media, and interactive chat flows over the official WhatsApp API. (Not supported by PostHog API).
Voice / OTP Calls✗ Not SupportedAutomate text-to-speech voice OTP phone calls and interactive voice response (IVR) prompts. (Not supported by PostHog API).
Email Notifications✗ Not SupportedSend transactional receipts, welcome messages, and alerts with high inbox deliverability. (Not supported by PostHog API).
USSD Messaging✗ Not SupportedDeploy interactive USSD session menus and mobile push prompts across Nigerian telecom operators. (Not supported by PostHog API).
++++
API Pricing Model
  • Massive Free Tier:1,000,000 events, 5,000 session recordings, and 1,000,000 feature flag requests free every single month
  • Pay-as-you-go thereafter with volume discounts

Required Access Documents for PostHog API

  • PostHog AccountRequired
    Sign up at app.posthog.com to retrieve project API keys

Different PostHog API use cases

  • User Funnel & Retention Analysis:Analyze onboarding conversion drop-offs and track cohort retention week over week.
  • Debugging User Errors via Session Replay:Watch exactly how users encountered frontend bugs and JavaScript errors.
  • Gradual Feature Rollouts:Safely deploy new features to 10% of users first before scaling to 100% via feature flags.

PostHog API Alternatives