Guides / Documents

Email → PDF

POST /v1/email/to-pdf  · 

Archive an .eml email as a clean PDF: header table, body, inline images, attachment list. (.msg is not supported.)

Parameters

NameTypeDescription
filefile · required.eml file.
pageFormatstring · optionalA4 (default) or Letter.

Example request

curl -X POST https://api.bigapi.dev/v1/email/to-pdf -H 'Authorization: Bearer $KEY' -F 'file=@message.eml' -o message.pdf

Example response

HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; filename="Quarterly update.pdf"

(PDF body)

Related guides