Skip to content
Quarters Developers
esc
  • Type an endpoint, an object or a word from a guide.

Agreements

Retrieve the archived PDF

GET /api/v1/reservations/{id}/agreement/document

The bytes archived for the current agreement, as application/pdf.

Path parameters

ParameterInTypeDescription
id requiredpathstringThe reservation id.

Response

200 The document, as application/pdf.

Errors

Every failure is { error, message }; see Errors. A missing or expired bearer is a 401 on every endpoint but the token exchange.

StatuserrorWhen
404not_foundUnknown reservation, or no document has been archived for its current agreement.

Request

curl "https://go.quarters.live/api/v1/reservations/7c02…/agreement/document" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -o agreement.pdf

Response · 200

Content-Type: application/pdf
Content-Disposition: inline; filename="agreement-7c02….pdf"

<bytes>