cURL
curl --request PATCH \ --url https://agents.studio.getsupervisor.ai/v1/webhooks/{webhookId}/subscriptions/{subscriptionId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "isActive": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "webhookId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "eventKey": "<string>", "isActive": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Identificador del workspace multi-tenant.
Identificador del webhook (UUID v4)
Identificador de la suscripción de evento (UUID v4)
OK
Detalle de suscripción (mismos campos que el resumen por ahora).
Clave del evento (p. ej. agent.created, agent.version.published).