cURL
curl --request POST \ --url http://0.0.0.0:8000/i/v0/e/ \ --header 'Content-Type: application/json' \ --data ' { "api_key": "<string>", "event": "<string>", "distinct_id": "<string>", "properties": {}, "timestamp": "2023-11-07T05:31:56Z", "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "status": 1 }
PostHog-compatible single-event capture endpoint.
Resolves the api_key in the JSON body to an organization, builds a ClickHouse row, and inserts it into the events table.
api_key
events
Single event in the PostHog-compatible capture format.
1
Successful Response
Was this page helpful?