Download an offer PDF
Returns the offer document the customer received, as a PDF. A draft has no document yet and returns 409; preview it with the draft PDF route instead.
Returns the offer document the customer received, as a PDF. A draft has no document yet and returns 409; preview it with the draft PDF route instead.
Authorization
x-api-key Company API key, created under Settings > API Keys.
In: header
Path Parameters
The offer version id.
Header Parameters
Optional with an API key or OAuth token: leave it out and the company the key or token belongs to is used. If sent, it must be that same company, otherwise the request is refused with 403 API_KEY_WRONG_COMPANY or OAUTH_WRONG_COMPANY.
^[0-9a-fA-F]{24}$Response Body
application/pdf
curl -X GET "https://example.com/crm/offers/string/pdf"[ 0]Download an offer's certificate GET
Returns the certificate of completion on its own: who accepted the offer, when, and the hash of the document they accepted. Returns 409 until `sealState` is `SEALED`.
Download a sealed offer PDF GET
Returns the tamper-evident PDF of an offer accepted with a signature: the offer followed by its certificate of completion. Returns 409 until `sealState` is `SEALED`.