In reply to Shri.

Hi Shri,
Thanks for reading and posting your question. As outlined in the API documentation, the only option is for the image to return in .svg format. You could take that image and convert it to a .pdf either with code or by hand, but that would be done outside of the REST call.

Thanks,
Joe