How to properlly download docs?

Hey guys, anyone can share some example of how to use this? what does doc id mean and how to get it if eg. we need to download a specific doc from a specific company, do we use the doc name? or it should be a number? Thanks in advance.

V

I’ve written a guide on how to use the REST API to list filings, get document metadata and then request a document using the Document API: Filings Document API | CH Guide