Menu
Post /files/v3/files Upload
Upload file
POST
/files/v3/filesUse it in a workflow
- Add a step and choose the HubSpot connector.
- Pick the Post /files/v3/files Upload action (under Files).
- Fill in the fields below, then reference the result from later steps as
{{postFilesV3FilesUpload.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"charsetHunch": "string",
"file": "string",
"fileName": "string",
"folderId": "string",
"folderPath": "string",
"options": "string"
}
Response
Returns 201 with an object. Read it in later steps with {{postFilesV3FilesUpload.response.data.<field>}}.
{
"access": "HIDDEN_INDEXABLE",
"archived": false,
"createdAt": "2025-01-01T00:00:00Z",
"id": "string",
"updatedAt": "2025-01-01T00:00:00Z",
"archivedAt": "2025-01-01T00:00:00Z",
"defaultHostingUrl": "string",
"encoding": "string",
"expiresAt": 0,
"extension": "string",
"fileMd5": "string",
"height": 0
}
Need more? See the HubSpot guide for connection setup and behaviour shared by every action.
Was this page helpful?