Saltar al contenido principal
POST
Create a hub subscription

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

Authorization
string

Bearer token. A tenant route relays it to the streaming-hub as server-to-server auth.

X-Idempotency
string
requerido

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

Parámetros de ruta

fundo_id
string<uuid>
requerido

The fund's register id, as returned in the id field of GET /v1/consignado/fundos. It must be in the partner credential's scope.

Ejemplo:

"3f2504e0-4f89-41d3-9a0c-0305e82c3301"

Cuerpo

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

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

Ejemplo:
event_types
string[] | null
origin
string

Pin the subscription to one producing application (its ce-source); absent means any producer.

Ejemplo:

"midaz"

plan_tier
string
schema_major
integer<int64>
timeout_ms
integer<int64>

Per-attempt delivery timeout in milliseconds, from 1000 to 20000, webhook sinks only, validated by the hub; absent or 0 means the hub's default.

Ejemplo:

20000

Respuesta

Created

signingSecret
string
requerido
subscription
object
requerido