List lease documents
Returns a page of lease documents across the company, with the leases, units, properties and stored files they refer to alongside. Filter by lease to see one tenancy's paperwork.
Authorization
AuthorizationstringrequiredQuery parameters
pageintegerWhich page to return. Starts at 1.
pageSizeintegerHow many rows per page, between 1 and 100.
leaseIdstringOnly documents on this lease. A Snowflake id, sent as a decimal string.
unitIdstringOnly documents on leases at this unit. A Snowflake id, sent as a decimal string.
propertyIdstringOnly documents on leases at this property. A Snowflake id, sent as a decimal string.
portfolioIdstringOnly documents on leases in this portfolio. A Snowflake id, sent as a decimal string.
statusenum<string>Only documents in this state.
Response
200 · A page of lease documents.
itemsLeaseDocument[]The rows on this page.
currentPageintegerThe page you asked for. Pages start at 1.
totalPagesintegerHow many pages exist at this page size.
pageSizeintegerHow many rows a page holds.
totalCountintegerHow many rows match in total, across all pages.
propertiesProperty[]The properties the documents' leases are on.
unitsUnit[]The units the documents' leases are on.
leasesLease[]The leases the documents belong to.
filesFile[]The stored PDFs the documents point at.
400 · The request failed validation. `errors` maps each field name to what was wrong with it.
401 · The access token is missing, expired, or not for this company.
A lease document starts as a draft. Place the signature and text boxes on it with the update endpoint, then call begin-signing to send it out, which moves it to pendingSignatures. Once every signer has signed it becomes completed. Retracting pulls it back out of signing.