Skip to main content

Download Agreement PDF

Return the agreement as a PDF. Once signed, this is the stored signed record โ€” the exact bytes generated at signing, not a fresh render. Before signing it is a live preview with an empty signature box.

GET /v1/bookings/{id}/agreement/pdf

Authenticationโ€‹

Requires a valid API key with agreements:read scope.

Path Parametersโ€‹

ParameterTypeDescription
idintegerBooking ID

Request Exampleโ€‹

curl "https://app.equipdash.com/api/v1/bookings/4821/agreement/pdf" \
-H "Authorization: Bearer YOUR_API_KEY" \
-o rental-agreement-4821.pdf

Responseโ€‹

200 OK with Content-Type: application/pdf and a Content-Disposition: attachment filename. The body is the raw PDF โ€” not the usual JSON envelope.

The document carries the business header, both parties, the line items with amounts, the terms as signed, the signature image, and the signing log (name, date and time, IP address).

Errorsโ€‹

Errors still return the standard JSON envelope.

StatusCodeWhen
403agreements_disabledThe business has rental agreements switched off
409agreement_not_applicableThe booking has no rental items, so it has no agreement
404resource_not_foundNo booking with that ID belongs to this API key's business