Docs

Upload File

Creates a new file in Filestage from a URL.

POST

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
stringrequired

A URL where the file can be downloaded. Our server will perform a GET request to this URL.

Uncommon arguments
array of string

Array of step IDs. This is only required if the `projectId` is empty

string

The ID of the project to upload the file to. This field is required when the `stepIds` field is empty

string

The ID of the file that gets new version.

object

A key-value map of HTTP headers to include in the GET request to the `fileURL`. You can use this to provide authentication tokens (e.g., `Authorization: Bearer <token>`) if the URL is protected or other headers neccessary to make the GET request to the `fileUrl` successful.

string

The URL where we will send a POST request to notify you of the upload's final status. This URL must be publicly accessible.

object

A key-value map of HTTP headers to include in the POST request to your `callbackURL`. Use this for security, such as including a pre-shared secret or auth token.

string

The desired name for the file, including its extension (e.g., `document.pdf`). If omitted, the name will be inferred.

string

The email address of the user you want to upload the file on behalf of. This user will be displayed as the file uploader.

string

The ID of a specific section within a project to organize the file into. If omitted, the file is placed in the default section.

string

`pregeneratedFileId` in the response body of `POST /files/upload-url`

string

A custom identifier from your system to associate with the file, useful for cross-referencing. **Note:** We do not enforce uniqueness on this field; it is your responsibility to manage it.

object

Custom data that could be associated with the File. `externalMetadata` field cannot exceed 10Kb of data size and also a maximum of 5 object properties are allowed in this object.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.