Skip to content
gist.link ↗

sheetsCatalog

Query Campaigns API — POST https://campaigns.api.gist.link/graphql

Gist Sheets workbooks the current user owns, searchable by title — backs the sheet picker in the connect-source dialog. ROLE_ADMIN or ROLE_CAMPAIGNS_MANAGER.

campaigns:query:sheetsCatalog

The calling IAM key must hold this permission (or a wildcard that covers it: campaigns:query:* or campaigns:*) and the access token must have been minted with audience=campaigns. See Permissions.

type Query {
sheetsCatalog(search: String): [SheetsCatalogWorkbook!]!
}
Argument Type Required Description
search String No —

[SheetsCatalogWorkbook!]! — see the Campaigns types reference.

Terminal window
curl https://campaigns.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query SheetsCatalog($search: String) { sheetsCatalog(search: $search) { id title updatedAt } }",
"variables": {
"search": "example"
}
}
JSON