Authenticating to OneIdentity REST API without session

Dear all 

We're working on a project where we need ServiceNow to call the REST API of OneIdentity. 

The people working on the ServiceNow side has issues working with web-sessions and is asking if it is possible to call OneIdentity in a single call, with let's say basic authentication authorization header, instead of establising and using a session. I haven't been able to find any indication that this is possible, but I wanted to ask here if anyone else are aware of an option like this.

Alternatively if anyone has a JavaScript example for how to communicate with OneIdentity, perhaps that could be useful for them.

Kind regards

Kristian