---
title: "List values for a trigger config field"
method: GET
path: "/public/v1/integrations/trigger-resources"
tags: ["Integrations"]
---

# List values for a trigger config field

`GET /public/v1/integrations/trigger-resources`

Resolves the ids a triggerConfig needs (Drive folders, Sheets spreadsheets and tabs, Asana workspaces and projects, Salesforce sobjects and fields, Gmail labels, Outlook folders and calendars, OneDrive folders). Take `resourceType` from a trigger type's configFields, and send each result's `id` as the value of that config field. `parent` is required when browsing inside another resource: spreadsheetId for googlesheets_sheets, workspaceGid for asana_projects, sobjectName for salesforce_sobject_fields, and an optional folder path for onedrive_folders. The connected account must belong to your account and match the resource's toolkit. Requires a USER API key.

## Query parameters

- `resourceType` 'gmail_labels' | 'googlesheets_spreadsheets' | 'googlesheets_sheets' | 'googledocs_documents' | 'googledrive_folders' | 'googledrive_shared_drives' | 'onedrive_folders' | 'asana_workspaces' | 'asana_projects' | 'salesforce_sobjects' | 'salesforce_sobject_fields' | 'outlook_folders' | 'outlook_calendars', required
- `connectedAccountId` integer, required
- `parent` string
- `query` string
- `limit` integer

## Response `200`

Values available for the requested resource type

- PublicTriggerResourcesListResponse
  - `resourceType` 'gmail_labels' | 'googlesheets_spreadsheets' | 'googlesheets_sheets' | 'googledocs_documents' | 'googledrive_folders' | 'googledrive_shared_drives' | 'onedrive_folders' | 'asana_workspaces' | 'asana_projects' | 'salesforce_sobjects' | 'salesforce_sobject_fields' | 'outlook_folders' | 'outlook_calendars', required
  - `parent` string, nullable, required
  - `results` PublicTriggerResource[], required
    - `id` string, required — Value to send in triggerConfig for the matching field.
    - `name` string, required
  - `total` number, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Connected account not found

---

[API](https://skmtc.net/getfrontline/apis/public-api.md) · [All operations](https://skmtc.net/getfrontline/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getfrontline/public-api/revisions/9d33b6aad674/schema)
