Skip to main content
POST
Create or change a webhook endpoint. On a create, p_url is required and the response carries the

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Create or change a webhook endpoint. On a create, p_url is required and the response carries the signing secret — the only time it can be read. On an edit, p_url NULL keeps the stored address and p_events NULL keeps the subscriptions. p_header_value NULL keeps the stored credential, an empty string removes it, anything else replaces it. The address must be https. Requires admin.integration.admin.

p_name
string<text>
required
p_description
string<text>
p_events
string[]
p_header_name
string<text>
p_header_value
string<text>
p_id
string<uuid>
p_is_enabled
boolean<boolean>
p_url
string<text>

Response

200

OK