Appearance
880 - Webhook Config
Outgoing webhook endpoint configuration. This is an example of a MAML document.
maml
{
name: "case-hooks"
secret: "D4380SpLkd2unDpTZgS9dfof6B3gZPMY"
endpoints: [
{
url: "https://unlawful-packaging.org/webhook"
events: [
"create"
"update"
"delete"
]
active: true
}
{
url: "https://troubled-overcoat.org/callback"
events: [
"payment.success"
"payment.failed"
]
active: false
}
]
retry: {
max_attempts: 3
backoff: "linear"
interval: 47 # seconds
}
timeout: 13 # seconds
}