Register a webhook for your application.
If the doshii-location-id is supplied in the headers, the webhook will be registered against the supplied location, which will effectively ensure only events for that location will be sent to that webhook. If no location is specified then the webhook will be considered a global webhook, meaning any event from any subscribed location will be sent to that webhook endpoint. Only one global webhook may be registered for a given Doshii event.
For more detailed information on this specific endpoint please review the details found in the OpenAPI docs.