Syntax of history variable-instance variableNameIn

Hello everyone,
I’am tring to use history API- variable-instance specially variableNameIn query Parameters, which is a comma-separated list of variable names. Allows restricting the list of requested variables to the variable names in the list.
I’am writing this syntax but is not the right one, variable names is: CustomerName, CustomerCredit
/history/variable-instance?variableNameIn=[CustomerCredit,CustomerName]
Can anyone help with the right syntax for that?

Hello @Yazan
You need want to use a JSON object with required properties instead of putting it in the URL itself.
You can find a good example and other details here Get Variable Instances (POST) | docs.camunda.org