API - call detection

Hello, I wanted to know if it is possible through the API to detect when VITALPBX receives a call.