curl --location --request GET 'https://api.synup.com/api/v4/connected-accounts//folders?folderName' \
--header 'Authorization: API T9V35W3xxxxxxxxxxx' \
--header 'Content-Type: application/json'
{
"data": {
"getFoldersUnderGoogleAccount": [
{
"name": "Main Branch",
"locationCount": 5,
"folderId": "accounts/103301192460668915768"
},
{
"name": "Downtown",
"locationCount": 3,
"folderId": "accounts/1154433325552997863009"
}
]
}
}