Sending array to api variables

How we can send array to api variables without adding double quotes(")