Hi,
Yes, you can use Presence Web Services, which uses Cisco IM&P. It's basically a set of SOAP or REST operations. You set up a web service and define that as an endpoint. Then you tell PWS about the endpoint, subscribe to the presence of contacts, and after that, any change in presence will send a notification to the endpoint. Then the endpoint web service has to fetch the actual presence information.
Check out this code exchange for an example of how it's done:
https://developer.cisco.com/codeexchange/github/repo/CiscoDevNet/cisco-im-p-api-examples
That example also includes EPASSoap examples, but you don't need to use them for what you describe.