Log event for adding a custom domain

Problem statement

Is there a log event for adding a custom domain?

Solution

When you add a custom domain an sapi event will be logged with "description":"Configure a new custom domain". You can retrieve the added domain via details.request.body, e.g.:

"body": {
        "domain": "custom.domain.tld",
        "type": "auth0_managed_certs"
      },