Where could I find documentation about the Snapmaker Printer API?

There is no API doc.
Maybe this helps you: Guide: Automatic Start via Drag/Drop - #4 by Skreelink