Skip to main content

Download a quote as a PDF

GET/api/v1/quotes/{id}/pdf

Rendered on request from the current quote and the account's business details, logo and bank details.

  • Needs an API key, and runs with the access of the member who made the key.

Parameters

In the address

  • idstring (uuid)required

Responses

200An A4 PDF named after the document number. Signed-in downloads are attachments; customer links open inline.

The file itself, as application/pdf.

A refusal answers in the one error shape every operation shares.

Example

A request our own tests send. The ids are made up: put your own in their place.

curl "https://app.tradesender.co.uk/api/v1/quotes/7b5058e5-2d85-572f-8904-aff17cc66328/pdf" \
  -H "Authorization: Bearer $TRADESENDER_KEY" \
  -o quote.pdf