Appearance
269 - Webhook Config
Outgoing webhook endpoint configuration. This is an example of a MAML document.
maml
{
name: "travel-hooks"
secret: "hAumeYNuUQ8ZztCjFnRzB43LnfWzsICZ"
endpoints: [
{
url: "https://long-object.org/webhook"
events: [
"create"
"update"
"delete"
]
active: true
}
{
url: "https://sad-publicity.com/callback"
events: [
"payment.success"
"payment.failed"
]
active: false
}
]
retry: {
max_attempts: 10
backoff: "exponential"
interval: 7 # seconds
}
timeout: 26 # seconds
}