Adding Contacts to Static list returns 200, but empty content

contacts

#1

Hi!

If I add some contacts (by their email IDs) to some static contact list, I get the 200 status code as described in the docs: https://developers.hubspot.com/docs/methods/lists/add_contact_to_list

But the response body is empty and contacts are not actually added to a list.

Any idea what is happening?


#2

Hi @primoz-k

Are you setting the content-type: application/json request header? If that is set, do you have an example of the data you’re using in the request?


#3

My bad, the content-type header was not set.

Thank you very much!