Companies Properties Unsupported Media Type

I am trying to use the below API to get all companies properties. However, I am getting an Unsupported Media Type. I am using OAuth for authentication.

https://developers.hubspot.com/docs/methods/companies/get_company_properties

Note:- I am getting all Contacts using OAuth so authentication is not an issue.

Welcome, @sbhagat.

The Get all company properties endpoint returns JSON (noted in the Method Details section of this article), so if you change your Content-Type header to application/json, that should resolve the error.