Life360 + Trigger a rest call event on presence?

Hi, my ST is hooked up to Life360 and I have my HVAC working on the presence notification. This works great. What I would like to do is trigger a rest call to a service I host when 2 or more people are away. Can you point me to a place where I should investigate this - is this an app that has to be written or its a device handler - just looking for some advice and direction.

Thank you in advance.