Skip to content

1472 - Webhook Config

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

maml
{
  name: "forager-hooks"
  secret: "W0AkaAAXBbgow3ZSU5reuGe0jVZfPPKY"
  endpoints: [
    {
      url: "https://victorious-lounge.org//webhook"
      events: [
        "create"
        "update"
        "delete"
      ]
      active: true
    }

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

  retry: {
    max_attempts: 4
    backoff: "linear"
    interval: 56 # seconds
  }
  timeout: 24 # seconds
}

See Also