RESTful Sensor & Session Based Auth

Does anyone have any experience setting up a RESTful Sensor with a REST API that requires session based authentication?

I would like to set up sensors querying certain REST APIs that don’t have static API tokens - such as the Pi-hole API. I can’t figure out how to achieve this with the RESTFUL Sensor config.