Authorizations
Path Parameters
ID único del webhook
Body
application/json
Response
Webhook actualizado exitosamente.
The response is of type object
.
curl --request PUT \
--url https://api.gotrebol.com/v2/webhooks/{webhookId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "https://example.com/webhooks/trebol-v2",
"events": [
"verification.v2.created",
"verification.v2.finished"
],
"active": true
}'
{
"id": "wh_123",
"url": "https://example.com/webhooks/trebol",
"events": [
"verification.v2.created"
],
"status": "enabled",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Actualiza la URL, eventos, descripción o estado activo del webhook.
curl --request PUT \
--url https://api.gotrebol.com/v2/webhooks/{webhookId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "https://example.com/webhooks/trebol-v2",
"events": [
"verification.v2.created",
"verification.v2.finished"
],
"active": true
}'
{
"id": "wh_123",
"url": "https://example.com/webhooks/trebol",
"events": [
"verification.v2.created"
],
"status": "enabled",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
ID único del webhook
Webhook actualizado exitosamente.
The response is of type object
.
Was this page helpful?