Custom Alerts to trigger an API workflow

Hi, this may be a noob question, but I’m trying to figure out how to generate custom alerts based on the pool member availability. Preferably, as a REST call. Any pointers in the right direction would be appreciated.

Follow API intro: https://devcentral.f5.com/wiki/icontrol.homepage.ashx

and download version specific guide e.g. iControl(R) REST API User Guide, Version 13.0.0

https://devcentral.f5.com/d/icontrolr-rest-api-user-guide-version-1300-241