Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

This API uses OAuth 2.0 with the authorization code grant flow.

Body

multipart/form-data
file
file
required

The file to upload.

object
string
required

The object slug or ID.

Minimum string length: 1
Example:

"people"

record_id
string<uuid>
required

The ID of the record to upload the file to.

Example:

"bf071e1f-6035-429d-b874-d83ea64ea13b"

parent_folder_id
string<uuid>

Optional parent folder ID. Omit to upload to the root folder.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Response

201 - application/json

Created

Created

data
File · object
required