Skip to content

1970 - Webhook Config

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

maml
{
  name: "flood-hooks"
  secret: "zs8owuVLwoToohHk8v6F52jVQcbMDkY0"
  endpoints: [
    {
      url: "https://memorable-gym.net/webhook"
      events: [
        "create"
        "update"
        "delete"
      ]
      active: true
    }

    {
      url: "https://educated-developmental.biz//callback"
      events: [
        "payment.success"
        "payment.failed"
      ]
      active: false
    }
  ]

  retry: {
    max_attempts: 10
    backoff: "linear"
    interval: 60 # seconds
  }
  timeout: 25 # seconds
}

See Also