Create an unpublished event for the header-selected studio
Requires events:write, X-Studio-ID, and Idempotency-Key. Creates an unpublished event; publishing is a separate readiness-checked operation.
Authorizations
Batch Relay scoped API key or an anonymous Test Mode session. Scope names document required capabilities. Anonymous sessions are sandbox-only and do not authorize studio, event, billing, or Live Mode operations.
Headers
Required public studio ID. It selects the tenant for this request and is independently authorized against the API credential.
5 - 256^stu_1 - 200Untrusted optional analytics hint naming the calling client surface. It never affects authorization, routing, pricing, or behavior.
1 - 100Untrusted optional analytics hint naming the calling client version. It never affects authorization, routing, pricing, or behavior.
1 - 100Untrusted optional analytics hint naming the invocation mode. It never affects authorization, routing, pricing, or behavior.
1 - 100Body
Response
Unpublished studio event
Stable public event ID, never a Convex document ID.
11111