Ucotron Cortex
API reference

Endpoints subscribed to events.

Flow guide: Watch and webhooks

GET
/v1/webhooks/subscriptions

Authorization

bearerFixtureToken
AuthorizationBearer <token>

Token fixture del sandbox. Hay tres: acceso completo, sólo lectura y otra organización — para poder ejercitar 200, 403 y 404 cross-tenant. Ninguno es un secreto.

In: header

Query Parameters

cursor?string

Opaco. Usá el nextCursor de la página anterior; construirlo a mano se rompe cuando cambie la paginación.

limit?integer
Range1 <= value <= 250
Default25

Header Parameters

x-ucotron-tenant-id?string

Organización. Si viene, tiene que coincidir con la de la credencial: un header que la sobreescribiera sería el propio bypass.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/webhooks/subscriptions"
{  "data": [    {      "subscriptionId": "whsub_sbox_ec8b444b",      "endpointUrl": "https://webhooks.sbox.invalid/ucotron",      "eventTypes": [        "claim.created",        "report.approved",        "weather.alert"      ],      "signingKeyRef": "fixture-key:sbox-webhook-non-secret",      "status": "active",      "createdAt": "2025-11-20T12:05:00.000Z"    }  ],  "page": {    "nextCursor": null,    "previousCursor": null,    "limit": 25,    "hasMore": false  }}