Skip to main content
POST
Configure an inactive webhook endpoint

Authorizations

__Secure-better-auth.session_token
string
cookie
required

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

Body

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

Response

Successful JSON response

The response is of type object.