ServiceNow Integration to SailPoint

Hi, Am a java developer and new to SailPoint. Currently ServiceNow wants to send Rest API requests to SailPoint so I need use some options here to expose a Rest Endpoint URL to ServiceNow so that when SNOW sends me some request with payload, I need to be able to read the payload and transform it and send it to a 3rd party system. How do I implement this? I was able to configure 3rd party systems rest endpoints to send requests from SailPoint but am not sure how to create a rest endpoint in SailPoint which will be used by SNOW.
Please guide me!