Download an invoice PDF
GET
Byte-for-byte the document the dashboard serves.
apiToken invoices:readheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: invoices:read
id*integerThe PDF.
response?fileapplication/pdfFormat
binarycurl -X GET 'https://api.deluxhost.net/v1/invoices/0/pdf' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"Example Response
"string"