Skip to content

4173 - Webhook Config

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

maml
{
  name: "creator-hooks"
  secret: "dMPl4NoFnI3xMFAWuO352Jecpuh1t3ib"
  endpoints: [
    {
      url: "https://near-cappelletti.com//webhook"
      events: [
        "create"
        "update"
        "delete"
      ]
      active: true
    }

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

  retry: {
    max_attempts: 7
    backoff: "linear"
    interval: 55 # seconds
  }
  timeout: 17 # seconds
}

See Also