I tried playing around with the AeroAPI alert function, calling alerts and expecting to receive something along the line of not having alerts set yet. Instead I received a 401 error, INVALID_API_KEY. They key works for other requests, so not sure what the issue is?
Also, is there a more detailed documentation on the alert function and how the call back needs to be set up?
I am getting the exact same problem, I can’t work with any of the alert methods because all of them return an INVALIDAD_API_KEY error even when the same api key works for requests in another resource.
Verify which AeroAPI plan / tier you are using. As far as I know, alerts are not available through the AeroAPI Personal tier. Alerts are available in the Standard tier or above which have a minimum monthly fee. AeroAPI account tiers can be found here: AeroAPI® Flight Tracking and Flight Status API - FlightAware