Appearance
376 - Webhook Config
Outgoing webhook endpoint configuration. This is an example of a MAML document.
maml
{
name: "mechanic-hooks"
secret: "8OvrxAPr7K9ru2aZVB3OMIANu5UBX9y5"
endpoints: [
{
url: "https://gummy-hoof.com/webhook"
events: [
"create"
"update"
"delete"
]
active: true
}
{
url: "https://avaricious-celsius.info/callback"
events: [
"payment.success"
"payment.failed"
]
active: false
}
]
retry: {
max_attempts: 10
backoff: "exponential"
interval: 10 # seconds
}
timeout: 11 # seconds
}