Hi,
i am making my first steps with Retool. and i managed to address APItemplate.io successfully.
But now I would rather use PDFmonkey. But I don't know how to build the appropriate request there.
I don't know how to configure the JSON object for the template in Retool.
According to PDFmonkey it should look like this in the end:
POST https://api.pdfmonkey.io/api/v1/documents
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"document": {
"document_template_id": "12345678-90ab-cdef-1234-567890abcdef",
"payload": {
"name": "Jane Doe"
},
"meta": {
"clientId": "ABC1234-DE",
"_filename": "my-document.pdf"
}
}
}
https://docs.pdfmonkey.io/references/api/documents#generating-a-document
I will be happy to receive any help.
Michael