Handles internal API requests for creating alerts.
The alert application service used to create alerts.
Creates a new alert from request body and returns its identifier.
The incoming request.
The response used to send the created identifier.
The next middleware function for error handling.
Handles internal API requests for creating alerts.