DOCman comes with a built-in JSON API support based on the JSON API specification v1.0.
The API is accessible from any DOCman menu item on your website, for example:
our documentation we'll use
https://demo.joomlatools.com/en/docman/hierarchical-list as reference
The API can only access the categories and documents that are accessible through the menu item.
All data is sent and received as JSON, set the Accept request-header:
format=json to the query string the representation will always be JSON data.