Is there any way to call pdf manager template using api. I created template in Pdf manager and I need to call this template by passing record id of custom module using api.
I am not aware of any out-of-the-box APIs to access PDFManager templates.
PDF manager templates are stored in the pdfmanager table, the pdfmanager.body_html field contains the html, so you could retrieve the template using a SugarQuery or the GET /<module> or GET /<module>:record APIs, but you then need to retrieve your custom module record (GET /<module>:record) and parse the HTML to replace the placeholders with values, and format it into a PDF.
If you look at include/Sugarpdf/sugarpdf/sugarpdf.pdfmanager.php it may give you some ideas of how to build your own API.
Retrieving data ...