Skip to main content

Why my ".pdf" been converted to ".file" using monday api upload file query?

  • May 11, 2023
  • 3 replies
  • 526 views

Hi everyone!

By uploading pdf file to monday through api, the “.pdf” got converted to “.file”, is it a must? How can I keep it as “.pdf”?

Below is a reply from chatgpt, is that true?
“When you upload a file to Monday.com using their API, the file extension is not preserved and is instead changed to “.file”. This is because Monday.com stores all file attachments with a unique identifier to prevent naming conflicts and to optimize storage.”

Thanks!

3 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 30, 2023

Hello there @mlellison and welcome to the community!

I hope you like it here 💪

I just used the add_file_to_column method to add a pdf file into a files column and the PDF stays a PDF. You can view it and download it and it will still be a PDF.

Which method are you trying?

Looking forward to hearing from you!

Cheers,
Matias


can you please provide the code?


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • May 15, 2024

Hello again @YuvrajSinghRajput,

I used this: Postman