Skip to content

467 - Webhook Config

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

maml
{
  name: "dredger-hooks"
  secret: "UFooHSCwMzVxfjUYp3OfjFOLa5DhS2O9"
  endpoints: [
    {
      url: "https://lighthearted-hunt.net//webhook"
      events: [
        "create"
        "update"
        "delete"
      ]
      active: true
    }

    {
      url: "https://dreary-eyebrow.info/callback"
      events: [
        "payment.success"
        "payment.failed"
      ]
      active: true
    }
  ]

  retry: {
    max_attempts: 3
    backoff: "exponential"
    interval: 24 # seconds
  }
  timeout: 13 # seconds
}

See Also