Skip to main content
POST
Create or update a tracking-plan event

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
event_name
string
required
Required string length: 1 - 200
description
null | string
Maximum string length: 2000
properties_schema
object

JSON-Schema-style definition of the event's properties (properties, required, optional classification).

required_properties
string[]
Maximum array length: 64
enforcement
enum<string>
default:soft
Available options:
soft,
strict

Response

200 - application/json

The upserted tracking-plan event

data
object

One tracking-plan (event-schema) registry entry: the declared JSON-Schema shape for an event name plus its enforcement mode (soft flags violations, strict rejects them at ingest).

meta
object