There is no comprehensive and up-to-date HTTP API documentation. We do have:
but it's outdated.
You need to look at the source
P.S. We are working on Pi-hole v6, which should have a new, RESTful API. To have a look at the current state: https://ftl.pi-hole.net/new/http/docs/#overview