All pages
Reference
GET
/api/v1/integrations/google/folders
Requires the media:read scope.
List the sub-folders of a Drive folder, so you can find the folder_id to import from.
Query parameters
| Name | Type | Required | Notes |
|---|---|---|---|
parent | string | no | A Drive folder id, or 'root' (the default) for the top level. |
cursor | string | no | The next_cursor from a previous page. |
Request
curl -s "https://omniscape.io/api/v1/integrations/google/folders?parent=root" \
-H "Authorization: Bearer $OMNISCAPE_API_KEY"Response
{
"object": "list",
"data": [ { "id": "1AbC...", "name": "Campaign Photos" } ],
"has_more": false,
"next_cursor": null
}Notes
- Reads only from Google, over your connection. If you are not connected this is 409 integration_not_connected.
- A browse helper — you can also paste a folder id you already have straight into the import call.
Codes this call can return are on Error handling. If something is behaving unexpectedly, Troubleshooting is organised by symptom.