I am trying to create a dynamic list via the API. I have done this successfully in the past. In this case, I would like to exclude all contacts that have the "Unsubscribed from all email" property set. The JSON I am using is this:
The internal value for contact property - Unsubscribed from all email is hs_email_optout, as such, could you try using this internal value and try POST contacts/v1/lists, with the following POST body