Skip to content

1476 - Webhook Config

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

maml
{
  name: "license-hooks"
  secret: "EZZyixYfnL72nPL2KcQNxq1auqciKUnQ"
  endpoints: [
    {
      url: "https://grown-marimba.org/webhook"
      events: [
        "create"
        "update"
        "delete"
      ]
      active: true
    }

    {
      url: "https://cloudy-suv.name/callback"
      events: [
        "payment.success"
        "payment.failed"
      ]
      active: false
    }
  ]

  retry: {
    max_attempts: 10
    backoff: "linear"
    interval: 15 # seconds
  }
  timeout: 30 # seconds
}

See Also