Using API route but I want the variable label instead of value

I have entered data in kobo and would like to export to excel using the API route but I want the variable names to be replaced with the labels since they have a different notation at entry on the server. How can I get the values entered with their labels through this?

@hit4success, you could do it as outlined in the post discussed previously: