APIs & Integrations

Not applicable

File Upload API Doc Incorrect about Hidden Attribute

The https://developers.hubspot.com/docs/methods/files/post_files is wrong in describing the usage of the hidden attribute. It claims the attribute should be set in the body. Through trial and error I found it needed to be set in the the query string (like the overwrite option).

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

File Upload API Doc Incorrect about Hidden Attribute

Hi @homerlex,

You’re correct, the hidden field must be included as a query parameter, not in the file body. I’ll work on updating the docs now, nice catch.

0 Upvotes