VoidhashDocs
DocumentationAPI reference
Dashboard
Essentials
API overview
Authentication
Endpoints
Ad_accounts
Analytics
Api_keys
Auth
Component_dev_sessions
Component_registry
Components
Development
Events
Experiments
Feature_flag_overrides
Feature_flag_targets
Feature_flags
Ingest_policy
Notification_sends
Notifications
Organizations
Payment_provider_configurations
Payment_provider_products
Payment_sources
Paywall_locations
Paywalls
Perks
Persons
Products
Projects
Push_notification_configurations
Schema
Sdk
Users
Webhooks
Analytics
Event capture
Create Webhook Endpoint
List Webhook Endpoints
Get Webhook Endpoint
Update Webhook Endpoint
Delete Webhook Endpoint
Rotate Webhook Secret
Test Webhook Endpoint
List Webhook Deliveries
Get Webhook Delivery
Retry Webhook Delivery

Update Webhook Endpoint

PreviousGet Webhook EndpointNextDelete Webhook Endpoint
PATCH
/api/v1/webhooks/endpoints/{endpointId}

Path Parameters

endpointId*string

Query Parameters

projectId?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

description?string|null|null
events?array<string>|null
name?string|null
status?|null
url?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v1/webhooks/endpoints/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "consecutiveFailures": 0,  "createdAt": "string",  "description": "string",  "events": [    "person.created"  ],  "id": "string",  "lastSuccessAt": "string",  "name": "string",  "projectId": "string",  "status": "active",  "url": "string"}
{  "_tag": "Api/WebhookValidationError",  "message": "string"}
{  "_tag": "Api/AuthenticationError",  "cause": "string",  "message": "string"}
{  "_tag": "Api/ActionForbiddenError",  "message": "string"}
{  "_tag": "Api/WebhookEndpointNotFoundError",  "endpointId": "string"}
{  "_tag": "Api/WebhookServiceError",  "cause": "string"}