Skip to main content
Question

REFRESHED: uploading files from Python API

  • December 10, 2025
  • 0 replies
  • 3 views

I keep going back and forth between Monday.com’s API Reference API AI assistant and Gemini, and I keep getting conflicting answers on how this should look with neither one getting me to a working solution.  I keep getting 400 errors or errors about the file value being null.

It appears that the Reference documentation doesn’t give enough information about how to do this with Python to get someone to a working solution.

The confusion surrounds how to properly pass the $file variable into the python call (variable mapping and formatting).

Can someone please post a basic python function that uses the inputs:
API token, Column ID (of a files column), item ID, file_path (string representing the path to the file on your computer)
in order to upload a file to the Files column of an item in Monday.com?

Thanks.