Skip to content

1169 - Webhook Config

Outgoing webhook endpoint configuration. This is an example of a MAML document.

maml
{
  name: "dwell-hooks"
  secret: "Rg84dWbJLurdpMu8ECoL18ekDHdnj0wV"
  endpoints: [
    {
      url: "https://rowdy-courtroom.biz//webhook"
      events: [
        "create"
        "update"
        "delete"
      ]
      active: true
    }

    {
      url: "https://smart-cutlet.net//callback"
      events: [
        "payment.success"
        "payment.failed"
      ]
      active: true
    }
  ]

  retry: {
    max_attempts: 3
    backoff: "linear"
    interval: 23 # seconds
  }
  timeout: 9 # seconds
}

See Also