Skip to main content
PATCH
Update a webhook endpoint

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

orgId
string
required

Organization ID

webhookId
string
required

Webhook endpoint ID

Body

application/json
url
string

URL to POST events to. Must use https, must not contain credentials, and its host must resolve to public IP addresses.

Required string length: 1 - 2000
description
string | null

Your own note about what this endpoint is for

Maximum string length: 500
eventTypes
enum<string>[]

Event types this endpoint receives. An event of any other type is not sent to it.

Required array length: 1 - 2 elements
Available options:
insight.generated,
insight.failed
enabled
boolean

false stops deliveries. true puts the endpoint back in service: it clears disabledAt and disabledReason and resets consecutiveFailures to 0.

Response

Webhook endpoint updated successfully

data
object
required