Skip to main content
POST
Create a hub subscription

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

Authorization
string

Bearer token, relayed to the streaming-hub as server-to-server auth.

X-Idempotency
string
required

Idempotency key, forwarded to the hub's idempotency middleware, which refuses this mutation without one.

Body

application/json
endpoint
string
required
name
string
required
sink_kind
string
required
event_majors
object

Per-event-type schema major, overriding schema_major for the types it names.

Example:
event_types
string[] | null
plan_tier
string
schema_major
integer<int64>

Response

Created

signingSecret
string
required
subscription
object
required