Hubapi Files
Hubapi Files is the HubSpot files API for uploading, organizing, and managing files stored in HubSpot.
- Base URL:
https://api.hubapi.com - Auth:
query:hapikey(pass your key via theapiKeyinput)
Operations
get_files_v3_files_import_from_url_async_tasks_t— GET /files/v3/files/import-from-url/async/tasks/{taskId}/status — Check import status.get_files_v3_files_search_dosearch— GET /files/v3/files/search — Search filesget_files_v3_files_fileid_getbyid— GET /files/v3/files/{fileId} — Get file.get_files_v3_files_fileid_signed_url_getsignedur— GET /files/v3/files/{fileId}/signed-url — Get signed URL to access private file.get_files_v3_folders_search_dosearch— GET /files/v3/folders/search — Search foldersget_files_v3_folders_update_async_tasks_taskid_s— GET /files/v3/folders/update/async/tasks/{taskId}/status — Check folder update status.
Inputs
apiKey— your hubapi-files API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_files_v3_files_import_from_url_async_tasks_t
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_files_v3_files_import_from_url_async_tasks_t, get_files_v3_files_search_dosearch, get_files_v3_files_fileid_getbyid, get_files_v3_files_fileid_signed_url_getsignedur, get_files_v3_folders_search_dosearch, get_files_v3_folders_update_async_tasks_taskid_s |
fileId |
string | no | — | Path parameter fileId (required by some operations). |
taskId |
string | no | — | Path parameter taskId (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |