Skip to navigation

webflow.interactions.getAll(options?)

List interactions. Pass {pageId} to get only the interactions visible on that page (by scope); omit it to list every interaction on the site.

Syntax

webflow.interactions.getAll(options?: {pageId?: string}): Promise<InteractionSummary[]>

Parameters

  • options : {pageId?: string} - Optional filter. pageId limits results by page-scope visibility.

Returns

Promise<InteractionSummary[]>

A Promise that resolves to an array of lightweight interaction summaries. Timelines are id references, not inline objects. Use get for full timelines.

Example

const all = await webflow.interactions.getAll();
const page = await webflow.getCurrentPage();
const onThisPage = await webflow.interactions.getAll({pageId: page.id});

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canReadInteractionsAnyMainAnyAny