Capture (ingest) a single analytics event into PostHog using the public ingestion API and a project API key. Use when you need to send custom events like 'lesson_started', 'quiz_completed', or any user behavior tracking. This bypasses the private /api/* endpoints and uses PostHo…
eventRequiredstringName of the event to capture (e.g., 'lesson_started', 'quiz_completed', 'button_clicked')
api_keyRequiredstringProject API Key (write-only ingestion key). This is different from your personal API key and is safe to use in public contexts.
timestampstringISO 8601 timestamp indicating when the event occurred (e.g., '2024-05-22T17:09:29.220Z'). If not provided, PostHog uses the current server time.
propertiesobjectOptional event properties containing arbitrary metadata about the event (e.g., {'lesson_id': '42', 'score': 95})
distinct_idRequiredstringUnique identifier for the user or entity. Commonly a UUID or user ID (e.g., '018daf23-89b3-7cf8-a4f1-94064c96df90' or 'user_123')
ingest_hoststringPostHog ingestion host. Use 'https://us.i.posthog.com' for US Cloud, 'https://eu.i.posthog.com' for EU Cloud, or your self-hosted domain. Defaults to US Cloud.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.