Skip to main content

goalRefList

Returns every non-deleted goal as a lightweight reference, ordered by name, without pagination. Use it to pick a goal id; use goalSelectorList to also get trigger filters, or goalRef for one known id. Requires goal view access.

goalRefList(
site: Int
): [GoalRef!]!

Arguments​

goalRefList.site ● Int scalar​

Site id from the sites query; omit to list goals from all account sites.

Type​

GoalRef object​

Lightweight goal reference returned by goalRefList, goalRef, and goalsByIds; may be soft-deleted.