Alerts are not accessible from the TWS API.
Can I play an audible alert in Excel API?
Powered by IBot
Where can I download the TWS API?
Where can I find the API documentation?
What order types are supported in the TWS API?
Is the IBIS 'Research Essentials' Subscription Bundle available via API?