Skip to main content
POST
Get an upload ticket for a draft file

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
kind
enum<string>
required

What the file is. The draft has one upload door for all four.

Available options:
image,
video,
contract,
document
filename
string
required
Required string length: 1 - 255
content_type
string
required

The media type of the file.

Required string length: 1 - 255
size_bytes
integer
required

The size of the file in bytes.

Required range: 1 <= x <= 9007199254740991

Response

Created

data
object
required
meta
object
required