Getting data from "repeat groups" via API

I have a format with “repeating groups”, thus the data, when I download comes in a separate tab of the excel file…however when I query the API the CSV has only one file/tab, and the repeat groups tab/data is not there. What would be the addres to get this in the api?