Update a webhook endpoint
Regional
us.api.brault.app— follows the region selector in the top barSend any of url, name, events or status. events replaces the list. Setting status to disabled is a 409: only the system disables an endpoint.
Authorization
apiKey AuthorizationBearer <token>
API key from Settings → Developers
In: header
Path Parameters
webhookId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v1/webhooks/string" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "webhook", "id": "string", "url": "string", "name": "string", "events": [ "string" ], "status": "active", "disabled_reason": "string", "secret": "string", "secret_last4": "string", "secret_rolled_at": "2019-08-24T14:15:22Z", "consecutive_failures": 0, "last_delivery_at": "2019-08-24T14:15:22Z", "last_success_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "created_by_id": "string"}