Document

Get document PDF

Changed on

v1 is deprecated — use the v2 endpoint instead. Returns the rendered PDF file for a document. The PDF uses the invoice templates and document settings configured on your Swipe account. Pass delivery_challan=1 to get a delivery-challan copy instead.

get/v1/doc/pdf/{doc_hash_id}

Request

  • Base URL
    https://app.getswipe.in/api/partner
  • URL
    https://app.getswipe.in/api/partner/v1/doc/pdf/{doc_hash_id}
  • Auth
    HTTP bearer

Response

File will be downloaded

Changes