I have an API call that returns a PDF document, however, the document doesn’t have a file type. Is there any way to change the file type to pdf to be attached to an e-mail?

When it comes through now in the e-mail it just looks like:

I have an API call that returns a PDF document, however, the document doesn’t have a file type. Is there any way to change the file type to pdf to be attached to an e-mail?

When it comes through now in the e-mail it just looks like:

Best answer by PDFMonkey
Hello there!
I just pushed a new version of PDFMonkey that now accepts the meta key for direct generations too.
From a test I have done, Zapier seems to be picking up the name correctly and the attachment has the right name in the email I received (at least with Email by Zapier).
To clarify a bit on the direct generation thing. It’s a PDFMonkey feature that does exist but is undocumented as it’s considered unstable in terms of endpoint behavior (meaning we could change the way this endpoint works over time).
I hope this answers the issue in the proper way 
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.