Skip to main content
PATCH
Update or enable a webhook endpoint

Authorizations

__Secure-better-auth.session_token
string
cookie
required

Better Auth session with selected organization. Mutations also require the trusted Origin header.

Path Parameters

id
string
required

Body

application/json
name
string
Required string length: 1 - 80
url
string<uri>
Maximum string length: 2048
eventTypes
string[]
Required array length: 1 - 30 elements
Pattern: ^(email|sms|inbox|number)\.[a-z_]+$
enabled
boolean

Response

Successful JSON response

The response is of type object.