Skip to main content
POST
Attach a document to a draft

Authorizations

Authorization
string
header
required

Authorization code with PKCE. The person grants the scopes on the Investorlift consent page and accepts the Marketplace API Terms there.

Path Parameters

draft_id
string
required

The public id in the path, for example draft_id as mdl_a1b2c3d4e5f6.

Body

application/json
type
enum<string>
required

The document type. contract is the acquisition contract and starts extraction.

Available options:
contract,
inspection_report,
comparative_market_analysis,
short_term_rental_analysis,
long_term_rental_analysis,
other
keys
string[]
required

The staged keys of the upload tickets. A contract takes one key per page.

Required array length: 1 - 20 elements
Minimum string length: 1
filename
string
required
Required string length: 1 - 255

Response

Created

data
object
required
meta
object
required