Skip to content

3061 - Webhook Config

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

maml
{
  name: "quart-hooks"
  secret: "wdSkI5KYkQgu9GjEA8fYxEsmJ7P0VQ0u"
  endpoints: [
    {
      url: "https://prudent-cappelletti.biz//webhook"
      events: [
        "create"
        "update"
        "delete"
      ]
      active: true
    }

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

  retry: {
    max_attempts: 9
    backoff: "linear"
    interval: 38 # seconds
  }
  timeout: 8 # seconds
}

See Also