Skip to main content
Every posthog.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Events

aliasCreate

events.aliasCreate Create an alias linking two distinct user IDs Risk: write
Input Output: object

eventCreate

events.eventCreate Ingest an analytics event Risk: write
Input
Output: object

identityCreate

events.identityCreate Associate properties with a user identity Risk: write
Input
Output: object

trackPage

events.trackPage Track a page view event Risk: write
Input
Output: object

trackScreen

events.trackScreen Track a screen view event Risk: write
Input
Output: object