Create subscription
Create subscription
POST
Create subscription
Authorizations
API key (sk_live_…) or a scoped capability token. The same header carries both — the server discriminates by token shape.
Headers
Replay-safe identifier; derive it from the business event, not a random value. Same key + same body returns the same receipt.
Body
application/json
Field payload for subscription mutations. Send the full entity on CREATE (its required fields must be present); send only changed fields on UPDATE.
Client-chosen id on create (server generates one when omitted).
Claim id this write is bound to.
Conflict policy (default reject).
Available options:
reject, force, flag, merge, null Sync watermark the write was based on.
Alternative to the Idempotency-Key header.