The ServiceM8 Document Templates Node.js Sample Code demonstrates how to access the API with POST methods and an URL that redirects to the platform produce document. The response will contain a copy of the produced document in the output format a user has requested. Otherwise, the response will be a JSON object describing the error which occured.
Developers are often finding themselves as API providers in addition to consumers. The same is now true for me with my project, BuildaSearch. I recently released a BuildaSearch API for deeper site search integration, moving away from a more plug-and-play approach I took earlier on.