Register a new webhook for an event type. When the specified event occurs, a POST request will be sent to the provided URL.

View as Markdown

Authentication

X-API-Keystring

API Key authentication. Generate your API key in the Gail Portal under General > Integrations > API Keys.

Request

The webhook configuration including event type and destination URL.
eventenumOptional
urlstring or nullOptional

Response

Created
eventenum
urlstring or null
idstringOptionalformat: "uuid"
isArchivedbooleanOptional

Errors

400
Bad Request Error