Run a saved action by id/key, or dispatch inline with api, code, or browser, through the connection selected by connectionId/connectionKey (browser requires connectionId). Returns { output, actionRunId }; for browser dispatch, actionRunId is the Browser Session id.
POST /act is Membrane’s unified entry point for running an action through a connection. See the Actions guide for the conceptual walkthrough — this page is the endpoint reference.
Every dispatch needs a connection. Membrane resolves one in this order:
connectionId — direct.
connectionKey — look up by key.
integrationId or integrationKey — use that integration’s default connection.
Workspace default connection.
Reusable-action dispatches that target a connection-scoped or integration-scoped action use the action’s own scope automatically — the body fields above only kick in when the action’s scope doesn’t already resolve a connection.For inline dispatches (api / code), the connection must resolve to something — otherwise the request returns 400.
Every response — success or failure — carries an actionRunId. Pass it to GET /action-run-logs/{id} to inspect the resolved action, mapped input, raw HTTP exchange, and any errors. On failure the body still includes actionRunId alongside the error.
POST /actions/{selector}/run is the older endpoint for running a saved action. It still works for existing callers but is deprecated — /act covers all the same cases plus inline api and code dispatch.
Run a saved action by id/key, or dispatch inline with api, code, or browser, through the connection selected by connectionId/connectionKey (browser requires connectionId). Returns { output, actionRunId }; for browser dispatch, actionRunId is the Browser Session id.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Membrane Docs","colors":{"primary":"#0F766E","light":"#14B8A6","dark":"#115E59"},"logo":{"light":"https://mintcdn.com/membrane-agency/v4_djV_NCG0crn4V/logo/light.svg?fit=max\u0026auto=format\u0026n=v4_djV_NCG0crn4V\u0026q=85\u0026s=a4c17bd552331573d4e08fa32fd8a7c3","dark":"https://mintcdn.com/membrane-agency/v4_djV_NCG0crn4V/logo/dark.svg?fit=max\u0026auto=format\u0026n=v4_djV_NCG0crn4V\u0026q=85\u0026s=844105699cb6f6e7fc7497e5b06c60db"},"favicon":"https://mintcdn.com/membrane-agency/v4_djV_NCG0crn4V/favicon.svg?fit=max\u0026auto=format\u0026n=v4_djV_NCG0crn4V\u0026q=85\u0026s=4f09b330b12c9cb04a0ac52897c2aec7","api":{"playground":{"display":"interactive","proxy":false}},"navbar":{"links":[{"href":"https://changelog.getmembrane.com","label":"Changelog"}],"primary":{"type":"button","label":"Website","href":"https://getmembrane.com"}},"footer":{"socials":{"github":"https://github.com/membranehq"}},"icons":{"library":"fontawesome"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"membrane-agency","hasAudioNarration":false,"actualSubdomain":"membrane-agency","customDomains":["docs.membrane.agency"],"gitSource":{"type":"github","owner":"membranehq","repo":"platform","deployBranch":"main","contentDirectory":"docs/mintlify","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6a8d9d315717d6af20a472c4","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Reference","count":115},{"language":"default","tag":"Workspace Elements","count":103},{"language":"default","tag":"Guides","count":60},{"language":"default","tag":"Connectors","count":30},{"language":"default","tag":"Managing Membrane","count":16},{"language":"default","tag":"How Membrane Works","count":14},{"language":"default","tag":"Ways to Use Membrane","count":13},{"language":"default","tag":"Actions","count":13},{"language":"default","tag":"Connections","count":11},{"language":"default","tag":"References","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reference/workspace-elements/act","slug":"/reference/workspace-elements/act","pageMetadata":{"title":"Act","openapi":"POST /act","description":"Run a saved action by `id`/`key`, or dispatch inline with `api`, `code`, or `browser`, through the connection selected by `connectionId`/`connectionKey` (`browser` requires `connectionId`). Returns `{ output, actionRunId }`; for browser dispatch, `actionRunId` is the Browser Session id.","href":"/reference/workspace-elements/act"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Run a saved action by \", _jsx(_components.code, {\n children: \"id\"\n }), \"/\", _jsx(_components.code, {\n children: \"key\"\n }), \", or dispatch inline with \", _jsx(_components.code, {\n children: \"api\"\n }), \", \", _jsx(_components.code, {\n children: \"code\"\n }), \", or \", _jsx(_components.code, {\n children: \"browser\"\n }), \", through the connection selected by \", _jsx(_components.code, {\n children: \"connectionId\"\n }), \"/\", _jsx(_components.code, {\n children: \"connectionKey\"\n }), \" (\", _jsx(_components.code, {\n children: \"browser\"\n }), \" requires \", _jsx(_components.code, {\n children: \"connectionId\"\n }), \"). Returns \", _jsx(_components.code, {\n children: \"{ output, actionRunId }\"\n }), \"; for browser dispatch, \", _jsx(_components.code, {\n children: \"actionRunId\"\n }), \" is the Browser Session id.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /act`}),` is Membrane’s unified entry point for running an action through a connection. See the `,_jsx(_components.a,{href:`/docs/how-membrane-works/actions`,children:`Actions guide`}),` for the conceptual walkthrough — this page is the endpoint reference.`]}),`\n`,_jsx(Heading,{level:`2`,id:`dispatch-styles`,children:`Dispatch styles`}),`\n`,_jsxs(_components.p,{children:[`Exactly `,_jsx(_components.strong,{children:`one`}),` of `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`key`}),`, `,_jsx(_components.code,{children:`api`}),`, or `,_jsx(_components.code,{children:`code`}),` per call. Sending more than one returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Style`}),_jsx(_components.th,{children:`When to use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api`})}),_jsxs(_components.td,{children:[`Inline `,_jsx(_components.code,{children:`api`})]}),_jsx(_components.td,{children:`Make an ad-hoc HTTP request through the connection’s auth and base URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsxs(_components.td,{children:[`Inline `,_jsx(_components.code,{children:`code`})]}),_jsxs(_components.td,{children:[`Run a JavaScript snippet in a sandbox with a pre-wired authenticated `,_jsx(_components.code,{children:`membrane`}),` client.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`key`})}),_jsx(_components.td,{children:`Reusable`}),_jsx(_components.td,{children:`Run a saved (workspace- or integration-level) action by its stable key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`Reusable`}),_jsx(_components.td,{children:`Run a catalog action or a saved action by its Membrane ID.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`resolving-a-connection`,children:`Resolving a connection`}),`\n`,_jsx(_components.p,{children:`Every dispatch needs a connection. Membrane resolves one in this order:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connectionId`}),` — direct.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connectionKey`}),` — look up by key.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`integrationId`}),` or `,_jsx(_components.code,{children:`integrationKey`}),` — use that integration’s default connection.`]}),`\n`,_jsx(_components.li,{children:`Workspace default connection.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Reusable-action dispatches that target a connection-scoped or integration-scoped action use the action’s own scope automatically — the body fields above only kick in when the action’s scope doesn’t already resolve a connection.`}),`\n`,_jsxs(_components.p,{children:[`For inline dispatches (`,_jsx(_components.code,{children:`api`}),` / `,_jsx(_components.code,{children:`code`}),`), the connection must resolve to something — otherwise the request returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`Inline HTTP spec — `,_jsx(_components.code,{children:`{ method, path, body?, headers?, query? }`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Inline JS module body, executed in a sandbox.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`key`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Action key. Scope with `,_jsx(_components.code,{children:`integrationKey`}),`/`,_jsx(_components.code,{children:`integrationId`}),`/`,_jsx(_components.code,{children:`connectionId`}),` if non-unique.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Action ID. Mutually exclusive with `,_jsx(_components.code,{children:`key`}),` / `,_jsx(_components.code,{children:`api`}),` / `,_jsx(_components.code,{children:`code`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`connectionId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Connection to run against. See `,_jsx(_components.a,{href:`#resolving-a-connection`,children:`resolution priority`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`connectionKey`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Connection key alternative to `,_jsx(_components.code,{children:`connectionId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`integrationId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Integration ID — used to scope `,_jsx(_components.code,{children:`key`}),` lookups or pick a default connection.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`integrationKey`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Integration key alternative to `,_jsx(_components.code,{children:`integrationId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`input`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`Action input. For reusable-action dispatches, validated against the action’s `,_jsx(_components.code,{children:`inputSchema`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`meta`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`Arbitrary metadata stored on the resulting `,_jsx(_components.a,{href:`/reference/workspace-elements/action-run-logs`,children:`Action Run Log`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actionRunId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003caction-run-id>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Every response — success or failure — carries an `,_jsx(_components.code,{children:`actionRunId`}),`. Pass it to `,_jsx(_components.a,{href:`/reference/workspace-elements/action-run-logs`,children:_jsx(_components.code,{children:`GET /action-run-logs/{id}`})}),` to inspect the resolved action, mapped input, raw HTTP exchange, and any errors. On failure the body still includes `,_jsx(_components.code,{children:`actionRunId`}),` alongside the error.`]}),`\n`,_jsx(Heading,{level:`2`,id:`replay-from-a-run-log`,children:`Replay from a run log`}),`\n`,_jsxs(_components.p,{children:[`Every action run log carries an `,_jsx(_components.code,{children:`action`}),` field — the complete `,_jsx(_components.code,{children:`/act`}),` body that was used. Pass it back unchanged to re-run the same dispatch:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`SNAPSHOT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.integration.app/action-run-logs/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`runI`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.action'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.integration.app/act`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$SNAPSHOT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The snapshot is the source of truth for “what ran”. Top-level `,_jsx(_components.code,{children:`input`}),` and `,_jsx(_components.code,{children:`connectionId`}),` on the run log are deprecated — read them from `,_jsx(_components.code,{children:`action`}),` instead.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`legacy-post-/actions/selector/run`,children:[`Legacy: `,_jsx(_components.code,{children:`POST /actions/{selector}/run`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /actions/{selector}/run`}),` is the older endpoint for running a saved action. It still works for existing callers but is `,_jsx(_components.strong,{children:`deprecated`}),` — `,_jsx(_components.code,{children:`/act`}),` covers all the same cases plus inline `,_jsx(_components.code,{children:`api`}),` and `,_jsx(_components.code,{children:`code`}),` dispatch.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Before`}),_jsx(_components.th,{children:`After`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /actions/\u003cid>/run`}),` body: `,_jsx(_components.code,{children:`{ ...input }`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /act`}),` body: `,_jsx(_components.code,{children:`{ \"id\": \"\u003cid>\", \"input\": {...}, \"connectionKey\": \"...\" }`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /actions/\u003ckey>/run?connectionId=\u003cid>`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /act`}),` body: `,_jsx(_components.code,{children:`{ \"key\": \"\u003ckey>\", \"connectionId\": \"\u003cid>\", \"input\": {...} }`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Ad-hoc HTTP via a custom `,_jsx(_components.code,{children:`run-javascript`}),` action`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /act`}),` body: `,_jsx(_components.code,{children:`{ \"api\": { \"method\": \"...\", \"path\": \"...\" }, \"connectionKey\": \"...\" }`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`/act`}),` for new code.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Act","openapi":"POST /act","description":"Run a saved action by `id`/`key`, or dispatch inline with `api`, `code`, or `browser`, through the connection selected by `connectionId`/`connectionKey` (`browser` requires `connectionId`). Returns `{ output, actionRunId }`; for browser dispatch, `actionRunId` is the Browser Session id.","href":"/reference/workspace-elements/act"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,RequestExample,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /act`}),` is Membrane’s unified entry point for running an action through a connection. See the `,_jsx(_components.a,{href:`/docs/how-membrane-works/actions`,children:`Actions guide`}),` for the conceptual walkthrough — this page is the endpoint reference.`]}),`\n`,_jsx(Heading,{level:`2`,id:`dispatch-styles`,children:`Dispatch styles`}),`\n`,_jsxs(_components.p,{children:[`Exactly `,_jsx(_components.strong,{children:`one`}),` of `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`key`}),`, `,_jsx(_components.code,{children:`api`}),`, or `,_jsx(_components.code,{children:`code`}),` per call. Sending more than one returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Style`}),_jsx(_components.th,{children:`When to use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api`})}),_jsxs(_components.td,{children:[`Inline `,_jsx(_components.code,{children:`api`})]}),_jsx(_components.td,{children:`Make an ad-hoc HTTP request through the connection’s auth and base URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsxs(_components.td,{children:[`Inline `,_jsx(_components.code,{children:`code`})]}),_jsxs(_components.td,{children:[`Run a JavaScript snippet in a sandbox with a pre-wired authenticated `,_jsx(_components.code,{children:`membrane`}),` client.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`key`})}),_jsx(_components.td,{children:`Reusable`}),_jsx(_components.td,{children:`Run a saved (workspace- or integration-level) action by its stable key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`Reusable`}),_jsx(_components.td,{children:`Run a catalog action or a saved action by its Membrane ID.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`resolving-a-connection`,children:`Resolving a connection`}),`\n`,_jsx(_components.p,{children:`Every dispatch needs a connection. Membrane resolves one in this order:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connectionId`}),` — direct.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`connectionKey`}),` — look up by key.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`integrationId`}),` or `,_jsx(_components.code,{children:`integrationKey`}),` — use that integration’s default connection.`]}),`\n`,_jsx(_components.li,{children:`Workspace default connection.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Reusable-action dispatches that target a connection-scoped or integration-scoped action use the action’s own scope automatically — the body fields above only kick in when the action’s scope doesn’t already resolve a connection.`}),`\n`,_jsxs(_components.p,{children:[`For inline dispatches (`,_jsx(_components.code,{children:`api`}),` / `,_jsx(_components.code,{children:`code`}),`), the connection must resolve to something — otherwise the request returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`api`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"connectionKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hubspot-prod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"api\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/crm/v3/objects/contacts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`code`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"connectionKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hubspot-prod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"module.exports = async ({ input, membrane }) => ({ ok: true })\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`key`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"create-contact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"integrationKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hubspot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"connectionKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hubspot-prod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`id`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"action_abc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"connectionKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hubspot-prod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"support-ticket-1234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`Inline HTTP spec — `,_jsx(_components.code,{children:`{ method, path, body?, headers?, query? }`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Inline JS module body, executed in a sandbox.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`key`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Action key. Scope with `,_jsx(_components.code,{children:`integrationKey`}),`/`,_jsx(_components.code,{children:`integrationId`}),`/`,_jsx(_components.code,{children:`connectionId`}),` if non-unique.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Action ID. Mutually exclusive with `,_jsx(_components.code,{children:`key`}),` / `,_jsx(_components.code,{children:`api`}),` / `,_jsx(_components.code,{children:`code`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`connectionId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Connection to run against. See `,_jsx(_components.a,{href:`#resolving-a-connection`,children:`resolution priority`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`connectionKey`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Connection key alternative to `,_jsx(_components.code,{children:`connectionId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`integrationId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Integration ID — used to scope `,_jsx(_components.code,{children:`key`}),` lookups or pick a default connection.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`integrationKey`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Integration key alternative to `,_jsx(_components.code,{children:`integrationId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`input`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`Action input. For reusable-action dispatches, validated against the action’s `,_jsx(_components.code,{children:`inputSchema`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`meta`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`Arbitrary metadata stored on the resulting `,_jsx(_components.a,{href:`/reference/workspace-elements/action-run-logs`,children:`Action Run Log`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actionRunId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003caction-run-id>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Every response — success or failure — carries an `,_jsx(_components.code,{children:`actionRunId`}),`. Pass it to `,_jsx(_components.a,{href:`/reference/workspace-elements/action-run-logs`,children:_jsx(_components.code,{children:`GET /action-run-logs/{id}`})}),` to inspect the resolved action, mapped input, raw HTTP exchange, and any errors. On failure the body still includes `,_jsx(_components.code,{children:`actionRunId`}),` alongside the error.`]}),`\n`,_jsx(Heading,{level:`2`,id:`replay-from-a-run-log`,children:`Replay from a run log`}),`\n`,_jsxs(_components.p,{children:[`Every action run log carries an `,_jsx(_components.code,{children:`action`}),` field — the complete `,_jsx(_components.code,{children:`/act`}),` body that was used. Pass it back unchanged to re-run the same dispatch:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`SNAPSHOT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.integration.app/action-run-logs/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`runI`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.action'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.integration.app/act`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$SNAPSHOT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The snapshot is the source of truth for “what ran”. Top-level `,_jsx(_components.code,{children:`input`}),` and `,_jsx(_components.code,{children:`connectionId`}),` on the run log are deprecated — read them from `,_jsx(_components.code,{children:`action`}),` instead.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`legacy-post-/actions/selector/run`,children:[`Legacy: `,_jsx(_components.code,{children:`POST /actions/{selector}/run`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /actions/{selector}/run`}),` is the older endpoint for running a saved action. It still works for existing callers but is `,_jsx(_components.strong,{children:`deprecated`}),` — `,_jsx(_components.code,{children:`/act`}),` covers all the same cases plus inline `,_jsx(_components.code,{children:`api`}),` and `,_jsx(_components.code,{children:`code`}),` dispatch.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Before`}),_jsx(_components.th,{children:`After`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /actions/\u003cid>/run`}),` body: `,_jsx(_components.code,{children:`{ ...input }`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /act`}),` body: `,_jsx(_components.code,{children:`{ \"id\": \"\u003cid>\", \"input\": {...}, \"connectionKey\": \"...\" }`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /actions/\u003ckey>/run?connectionId=\u003cid>`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /act`}),` body: `,_jsx(_components.code,{children:`{ \"key\": \"\u003ckey>\", \"connectionId\": \"\u003cid>\", \"input\": {...} }`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Ad-hoc HTTP via a custom `,_jsx(_components.code,{children:`run-javascript`}),` action`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /act`}),` body: `,_jsx(_components.code,{children:`{ \"api\": { \"method\": \"...\", \"path\": \"...\" }, \"connectionKey\": \"...\" }`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`/act`}),` for new code.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Act","openapi":"POST /act","description":"Run a saved action by `id`/`key`, or dispatch inline with `api`, `code`, or `browser`, through the connection selected by `connectionId`/`connectionKey` (`browser` requires `connectionId`). Returns `{ output, actionRunId }`; for browser dispatch, `actionRunId` is the Browser Session id.","href":"/reference/workspace-elements/act"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Dispatch styles","slug":"dispatch-styles","depth":2,"children":[]},{"title":"Resolving a connection","slug":"resolving-a-connection","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Replay from a run log","slug":"replay-from-a-run-log","depth":2,"children":[]},{"title":"Legacy: POST /actions/{selector}/run","slug":"legacy-post-/actions/selector/run","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"api","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"connectionKey\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"hubspot-prod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"api\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"method\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"path\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"/crm/v3/objects/contacts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"body\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"properties\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jane@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> } }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"code","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"connectionKey\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"hubspot-prod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"module.exports = async ({ input, membrane }) => ({ ok: true })\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"input\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"key","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"create-contact\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"integrationKey\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"hubspot\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"connectionKey\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"hubspot-prod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"input\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jane@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"id","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"action_abc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"connectionKey\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"hubspot-prod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"input\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jane@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"meta\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"support-ticket-1234\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"act","summary":"act","description":"Run a saved action by `id`/`key`, or dispatch inline with `api`, `code`, or `browser`, through the connection selected by `connectionId`/`connectionKey` (`browser` requires `connectionId`). Returns `{ output, actionRunId }`; for browser dispatch, `actionRunId` is the Browser Session id.","responses":{"200":"e3ad35b8-8c90-416b-9220-94fe86b792cf"},"requestBody":"1e74daf1-4cce-4e6e-ab95-4e714ab3a43d","method":"post","type":"path","servers":["33d21c8c-84e0-43bd-9b19-dc155c89188b"],"security":["7006bb3a-f4b9-4da4-8c7c-5fab58fead5b"],"path":"/act","baseUrlOptions":["https://api.getmembrane.com"],"title":"act","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"8","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"connectionKey\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"hubspot-prod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"api\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"method\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"POST\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"path\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"/crm/v3/objects/contacts\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"body\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"properties\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": { "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"email\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"jane@example.com\""}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" } }"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"api"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"connectionKey\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"hubspot-prod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"module.exports = async ({ input, membrane }) => ({ ok: true })\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"input\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {}"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"code"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"6","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"key\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"create-contact\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"integrationKey\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"hubspot\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"connectionKey\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"hubspot-prod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"input\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"email\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"jane@example.com\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"key"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"6","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"action_abc\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"connectionKey\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"hubspot-prod\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"input\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"email\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"jane@example.com\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"meta\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"source\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"support-ticket-1234\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"id"}],"requestExampleType":"mdx","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"description":"ID of the action to run.","type":"string","uniqueKey":"id","typeLabel":"string"},"key":{"description":"Key of the action to run. Pass `connectionId` or `connectionKey` to select a connection-specific variant.","type":"string","uniqueKey":"key","typeLabel":"string"},"api":{"description":"Inline HTTP request through the selected connection's auth and base URL; pair with `connectionId` or `connectionKey`.","type":"object","properties":{"method":{"type":"string","enum":["GET","POST","PATCH","PUT","DELETE"],"description":"HTTP method to use.","isRequired":true,"uniqueKey":"api.method","typeLabel":"enum\u003cstring>"},"path":{"description":"Path appended to the connection's base URL, e.g. `/v2/users/me`. Required.","type":"string","uniqueKey":"api.path","typeLabel":"string"},"body":{"description":"Request body. For JSON APIs, pass a plain object.","uniqueKey":"api.body","typeLabel":"any"},"headers":{"description":"Additional HTTP headers.","type":"object","additionalProperties":{"type":"string","uniqueKey":"api.headers.additionalProperties","typeLabel":"string"},"uniqueKey":"api.headers","typeLabel":"object"},"query":{"description":"Query-string parameters.","type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"api.query.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"api.query.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"api.query.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"api.query.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"api.query","typeLabel":"object"},"url":{"description":"[INTERNAL] Alias for `path`. Normalized to `path` on the server.","type":"string","uniqueKey":"api.url","typeLabel":"string"},"data":{"description":"[INTERNAL] Alias for `body`. Normalized to `body` on the server.","uniqueKey":"api.data","typeLabel":"any"}},"required":["method"],"additionalProperties":false,"uniqueKey":"api","typeLabel":"object"},"browser":{"oneOf":[{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["goal","idempotencyKey"],"properties":{"goal":{"type":"string","minLength":1,"description":"Goal for the browser session to pursue.","isRequired":true,"uniqueKey":"browser.oneOf.0.goal","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser dispatch return the same Browser Session.","isRequired":true,"uniqueKey":"browser.oneOf.0.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["open"],"uniqueKey":"browser.oneOf.0.action","typeLabel":"enum\u003cstring>"},"purpose":{"description":"What the session is for. `sign-in` suppresses recording so credential entry is never captured; defaults to `work`.","type":"string","enum":["work","sign-in"],"uniqueKey":"browser.oneOf.0.purpose","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.0","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action","url"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.1.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.1.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["navigate"],"isRequired":true,"uniqueKey":"browser.oneOf.1.action","typeLabel":"enum\u003cstring>"},"url":{"type":"string","format":"uri","description":"Absolute URL to open in the Browser Session.","isRequired":true,"uniqueKey":"browser.oneOf.1.url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.1","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.2.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.2.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["snapshot"],"isRequired":true,"uniqueKey":"browser.oneOf.2.action","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.2","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action","ref"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.3.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.3.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["click"],"isRequired":true,"uniqueKey":"browser.oneOf.3.action","typeLabel":"enum\u003cstring>"},"ref":{"type":"string","minLength":1,"description":"Element ref from the latest browser snapshot.","isRequired":true,"uniqueKey":"browser.oneOf.3.ref","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.3","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action","ref","text"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.4.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.4.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["type"],"isRequired":true,"uniqueKey":"browser.oneOf.4.action","typeLabel":"enum\u003cstring>"},"ref":{"type":"string","minLength":1,"description":"Input element ref from the latest browser snapshot.","isRequired":true,"uniqueKey":"browser.oneOf.4.ref","typeLabel":"string"},"text":{"type":"string","description":"Text to type into the element.","isRequired":true,"uniqueKey":"browser.oneOf.4.text","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.4","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.5.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.5.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["scroll"],"isRequired":true,"uniqueKey":"browser.oneOf.5.action","typeLabel":"enum\u003cstring>"},"ref":{"description":"Element ref from the latest snapshot to scroll into view. When set, direction and amount are ignored.","type":"string","minLength":1,"uniqueKey":"browser.oneOf.5.ref","typeLabel":"string"},"direction":{"description":"Page scroll direction when no ref is given. Defaults to down.","type":"string","enum":["up","down"],"uniqueKey":"browser.oneOf.5.direction","typeLabel":"enum\u003cstring>"},"amount":{"description":"How many viewport-heights to scroll when no ref is given. Defaults to 1.","type":"integer","minimum":1,"maximum":10,"uniqueKey":"browser.oneOf.5.amount","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.5","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.6.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.6.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["screenshot"],"isRequired":true,"uniqueKey":"browser.oneOf.6.action","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.6","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action","urlOrRef"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.7.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.7.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["download"],"isRequired":true,"uniqueKey":"browser.oneOf.7.action","typeLabel":"enum\u003cstring>"},"urlOrRef":{"type":"string","minLength":1,"description":"Download URL or element ref from the latest browser snapshot.","isRequired":true,"uniqueKey":"browser.oneOf.7.urlOrRef","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.7","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action","reason","timeoutSeconds"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.8.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.8.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["wait-for-user"],"isRequired":true,"uniqueKey":"browser.oneOf.8.action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","minLength":1,"description":"Why the human needs temporary control of the browser.","isRequired":true,"uniqueKey":"browser.oneOf.8.reason","typeLabel":"string"},"timeoutSeconds":{"default":180,"type":"integer","minimum":5,"maximum":600,"isRequired":true,"uniqueKey":"browser.oneOf.8.timeoutSeconds","typeLabel":"integer"},"urlContains":{"description":"Resume when the page URL contains this value.","type":"string","minLength":1,"uniqueKey":"browser.oneOf.8.urlContains","typeLabel":"string"},"selector":{"description":"Resume when this CSS selector appears.","type":"string","minLength":1,"uniqueKey":"browser.oneOf.8.selector","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.8","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action","connected"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.9.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.9.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["report-auth-state"],"isRequired":true,"uniqueKey":"browser.oneOf.9.action","typeLabel":"enum\u003cstring>"},"connected":{"type":"boolean","description":"Whether the browser profile appears to be signed in.","isRequired":true,"uniqueKey":"browser.oneOf.9.connected","typeLabel":"boolean"},"message":{"description":"Optional detail supporting the observed sign-in state.","type":"string","uniqueKey":"browser.oneOf.9.message","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.9","typeLabel":"object"},{"type":"object","description":"Browser Session dispatch; pair with `connectionId`, and use the returned `actionRunId` as its session id.","required":["sessionId","idempotencyKey","action"],"properties":{"sessionId":{"type":"string","minLength":1,"description":"Browser Session id returned by the open action.","isRequired":true,"uniqueKey":"browser.oneOf.10.sessionId","typeLabel":"string"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"description":"Client token that makes retrying this browser action return the same result.","isRequired":true,"uniqueKey":"browser.oneOf.10.idempotencyKey","typeLabel":"string"},"action":{"type":"string","enum":["close"],"isRequired":true,"uniqueKey":"browser.oneOf.10.action","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"browser.oneOf.10","typeLabel":"object"}],"uniqueKey":"browser","typeLabel":"object"},"code":{"description":"Sandboxed JavaScript module exporting a function that receives `{ input, membrane, ... }`; its return value is the action output.","type":"string","uniqueKey":"code","typeLabel":"string"},"connectionId":{"description":"Connection ID for this run; a connection-level action variant is preferred over the universal variant.","type":"string","uniqueKey":"connectionId","typeLabel":"string"},"connectionKey":{"description":"Connection key for this run.","type":"string","uniqueKey":"connectionKey","typeLabel":"string"},"input":{"description":"Input passed to the action, matching its input schema. Must be a JSON object.","type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"input.additionalProperties","typeLabel":"any"},"uniqueKey":"input","typeLabel":"object"},"meta":{"description":"Arbitrary metadata stored on the action run log.","type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"meta.additionalProperties","typeLabel":"any"},"uniqueKey":"meta","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","key":"\u003cstring>","browser":{"goal":"\u003cstring>","idempotencyKey":"\u003cstring>","action":"open"},"code":"\u003cstring>","connectionId":"\u003cstring>","connectionKey":"\u003cstring>","input":{},"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e3ad35b8-8c90-416b-9220-94fe86b792cf":{"description":"Run a saved action by `id`/`key`, or dispatch inline with `api`, `code`, or `browser`, through the connection selected by `connectionId`/`connectionKey` (`browser` requires `connectionId`). Returns `{ output, actionRunId }`; for browser dispatch, `actionRunId` is the Browser Session id.","content":{"application/json":{"schema":{"type":"object","properties":{"output":{"oneOf":[{}],"uniqueKey":"output","typeLabel":"any"},"actionRunId":{"type":"string","uniqueKey":"actionRunId","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"output":"\u003cunknown>","actionRunId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7006bb3a-f4b9-4da4-8c7c-5fab58fead5b":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]}}},"servers":{"33d21c8c-84e0-43bd-9b19-dc155c89188b":{"url":"https://api.getmembrane.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/membrane-api.json"},"subdomain":"membrane-agency","siteName":"Membrane Docs","title":"Act - Membrane Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-14T18:15:10.057Z","originalFileLocation":"reference/workspace-elements/act.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run a saved action by id/key, or dispatch inline with api, code, or browser, through the connection selected by connectionId/connectionKey (browser requires connectionId). Returns { output, actionRunId }; for browser dispatch, actionRunId is the Browser Session id.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Membrane Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Act - Membrane Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run a saved action by id/key, or dispatch inline with api, code, or browser, through the connection selected by connectionId/connectionKey (browser requires connectionId). Returns { output, actionRunId }; for browser dispatch, actionRunId is the Browser Session id.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Membrane Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.membrane.agency/reference/workspace-elements/act\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://membrane-agency.mintlify.site/_mintlify/api/og/v2?division=Actions\u0026amp;title=Act\u0026amp;description=Run+a+saved+action+by+%60id%60%2F%60key%60%2C+or+dispatch+inline+with+%60api%60%2C+%60code%60%2C+or+%60browser%60%2C+through+the+connection+selected+by+%60connectionId%60%2F%60connectionKey%60+%28%60brows\u0026amp;theme=ac4e529bd3284492f16dc7df\u0026amp;signature=5d8a05be485e609b7167949067d946a8ba55eba61e09bb1840a365da8a1a24f3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Act - Membrane Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run a saved action by id/key, or dispatch inline with api, code, or browser, through the connection selected by connectionId/connectionKey (browser requires connectionId). Returns { output, actionRunId }; for browser dispatch, actionRunId is the Browser Session id.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://membrane-agency.mintlify.site/_mintlify/api/og/v2?division=Actions\u0026amp;title=Act\u0026amp;description=Run+a+saved+action+by+%60id%60%2F%60key%60%2C+or+dispatch+inline+with+%60api%60%2C+%60code%60%2C+or+%60browser%60%2C+through+the+connection+selected+by+%60connectionId%60%2F%60connectionKey%60+%28%60brows\u0026amp;theme=ac4e529bd3284492f16dc7df\u0026amp;signature=5d8a05be485e609b7167949067d946a8ba55eba61e09bb1840a365da8a1a24f3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/membrane-agency/AsMUTkTfLdg_QiLm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Membrane Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F766E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.membrane.agency/reference/workspace-elements/act\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/workspace-elements/act.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.membrane.agency/#organization\",\"name\":\"Membrane Docs\",\"url\":\"https://docs.membrane.agency\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/membrane-agency/v4_djV_NCG0crn4V/logo/light.svg?fit=max\u0026auto=format\u0026n=v4_djV_NCG0crn4V\u0026q=85\u0026s=a4c17bd552331573d4e08fa32fd8a7c3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.membrane.agency#website\",\"name\":\"Membrane Docs\",\"url\":\"https://docs.membrane.agency\",\"publisher\":{\"@id\":\"https://docs.membrane.agency/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.membrane.agency/reference/workspace-elements/act#webpage\",\"url\":\"https://docs.membrane.agency/reference/workspace-elements/act\",\"name\":\"Act\",\"description\":\"Run a saved action by id/key, or dispatch inline with api, code, or browser, through the connection selected by connectionId/connectionKey (browser requires connectionId). Returns { output, actionRunId }; for browser dispatch, actionRunId is the Browser Session id.\",\"dateModified\":\"2026-08-14T18:15:10.057Z\",\"isPartOf\":{\"@id\":\"https://docs.membrane.agency#website\"},\"breadcrumb\":{\"@id\":\"https://docs.membrane.agency/reference/workspace-elements/act#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.membrane.agency/reference/workspace-elements/act#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workspace Elements\",\"item\":\"https://docs.membrane.agency/api-reference/list-connections\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Actions\",\"item\":\"https://docs.membrane.agency/reference/workspace-elements/actions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Act\",\"item\":\"https://docs.membrane.agency/reference/workspace-elements/act\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.membrane.agency/reference/workspace-elements/act#apireference\",\"headline\":\"Act\",\"name\":\"Act\",\"description\":\"Run a saved action by id/key, or dispatch inline with api, code, or browser, through the connection selected by connectionId/connectionKey (browser requires connectionId). Returns { output, actionRunId }; for browser dispatch, actionRunId is the Browser Session id.\",\"url\":\"https://docs.membrane.agency/reference/workspace-elements/act\",\"mainEntityOfPage\":{\"@id\":\"https://docs.membrane.agency/reference/workspace-elements/act#webpage\"},\"dateModified\":\"2026-08-14T18:15:10.057Z\",\"publisher\":{\"@id\":\"https://docs.membrane.agency/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.membrane.agency#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Membrane Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Membrane Docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/getting-started/overview"}]},{"tab":"Reference","groups":[{"group":"Overview","pages":[{"title":"Authentication","href":"/reference/overview/authentication"},{"title":"Element Selectors","href":"/reference/overview/element-selectors"},{"title":"API Errors","href":"/reference/overview/errors"}]},{"group":"Workspace Elements","pages":[{"group":"Connections","root":{"title":"Connections","href":"/reference/workspace-elements/connections"},"pages":[{"title":"list-connections","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connections","href":"/api-reference/list-connections"},{"title":"get-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connections/{id}","href":"/api-reference/get-connection"},{"title":"create-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connections","href":"/api-reference/create-connection"},{"title":"update-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /connections/{id}","href":"/api-reference/update-connection"},{"title":"replace-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json put /connections/{id}","href":"/api-reference/replace-connection"},{"title":"test-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connections/{id}/test","href":"/api-reference/test-connection"},{"title":"refresh-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connections/{id}/refresh-credentials","href":"/api-reference/refresh-connection"},{"title":"export-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connections/{id}/export","href":"/api-reference/export-connection"},{"title":"delete-connection","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /connections/{id}","href":"/api-reference/delete-connection"}]},{"group":"Connectors","root":{"title":"Connectors","href":"/reference/workspace-elements/connectors"},"pages":[{"group":"Connector Types","root":{"title":"Connector Types","href":"/reference/workspace-elements/connectors/connector-types"},"pages":[{"title":"Client Credentials","href":"/reference/workspace-elements/connectors/connector-types/client-credentials"},{"title":"Membrane Token","href":"/reference/workspace-elements/connectors/connector-types/membrane-token"},{"title":"OAuth1","href":"/reference/workspace-elements/connectors/connector-types/oauth1"},{"title":"OAuth2","href":"/reference/workspace-elements/connectors/connector-types/oauth2"},{"title":"Auth Proxy","href":"/reference/workspace-elements/connectors/connector-types/auth-proxy"}]},{"group":"Connector Functions","root":{"title":"Connector Functions","href":"/reference/workspace-elements/connectors/connector-functions"},"pages":[{"title":"Get Credentials from Connection Parameters","href":"/reference/workspace-elements/connectors/connector-functions/get-credentials-from-connection-parameters"},{"title":"Make API Client","href":"/reference/workspace-elements/connectors/connector-functions/make-api-client"},{"title":"Refresh Credentials","href":"/reference/workspace-elements/connectors/connector-functions/refresh-credentials"},{"title":"Test","href":"/reference/workspace-elements/connectors/connector-functions/test"},{"title":"Disconnect","href":"/reference/workspace-elements/connectors/connector-functions/disconnect"}]},{"title":"list-connectors","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors","href":"/api-reference/list-connectors"},{"title":"list-public-connectors","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /universe/connectors","href":"/api-reference/list-public-connectors"},{"title":"get-connector","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors/{idOrKey}","href":"/api-reference/get-connector"},{"title":"create-connector","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connectors","href":"/api-reference/create-connector"},{"title":"update-connector","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /connectors/{idOrKey}","href":"/api-reference/update-connector"},{"title":"delete-connector","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /connectors/{idOrKey}","href":"/api-reference/delete-connector"},{"title":"Download connector as zip file","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors/{idOrKey}/download","href":"/api-reference/connectors/download-connector-as-zip-file"},{"title":"Upload connector from zip file","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connectors/{idOrKey}/upload","href":"/api-reference/connectors/upload-connector-from-zip-file"},{"title":"Import connector from external source","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connectors/{idOrKey}/import","href":"/api-reference/connectors/import-connector-from-external-source"},{"title":"clone-connector","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connectors/{idOrKey}/clone","href":"/api-reference/clone-connector"},{"title":"list-connector-versions","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors/{key}/versions","href":"/api-reference/list-connector-versions"},{"title":"Publish a new version of connector","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /connectors/{key}/publish-version","href":"/api-reference/connectors/publish-a-new-version-of-connector"},{"title":"replace-connector","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json put /connectors/{idOrKey}","href":"/api-reference/replace-connector"},{"title":"Get a list of connector files","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors/{idOrKey}/files","href":"/api-reference/connectors/get-a-list-of-connector-files"},{"title":"Get connector file by path","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors/{idOrKey}/files/{path}","href":"/api-reference/connectors/get-connector-file-by-path"},{"title":"Update connector file","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json put /connectors/{idOrKey}/files/{path}","href":"/api-reference/connectors/update-connector-file"},{"title":"Delete connector file","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /connectors/{idOrKey}/files/{path}","href":"/api-reference/connectors/delete-connector-file"},{"title":"Delete connector directory","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /connectors/{idOrKey}/directories/{path}","href":"/api-reference/connectors/delete-connector-directory"},{"title":"Export connector as zip file","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors/{idOrKey}/export-files","href":"/api-reference/connectors/export-connector-as-zip-file"},{"title":"Export connector as JSON","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /connectors/{idOrKey}/export-json","href":"/api-reference/connectors/export-connector-as-json"}]},{"group":"Integrations","root":{"title":"Integrations","href":"/reference/workspace-elements/integrations"},"pages":[{"group":"Integrations UI","root":{"title":"Integrations UI","href":"/reference/workspace-elements/integrations/integrations-catalog"},"pages":[{"title":"Custom Integrations Catalog UI","href":"/reference/workspace-elements/integrations/integrations-catalog/custom-list-of-integrations"},{"title":"Custom Integration UI","href":"/reference/workspace-elements/integrations/integrations-catalog/custom-integration-ui"}]},{"title":"List integrations","openapi":"GET /integrations","href":"/reference/workspace-elements/integrations/list-integrations"},{"title":"get-integration","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /integrations/{idOrKey}","href":"/api-reference/get-integration"}]},{"group":"Apps","root":{"title":"Apps","href":"/reference/workspace-elements/external-apps"},"pages":[{"title":"list-external-apps","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-apps","href":"/api-reference/list-external-apps"},{"title":"list-public-external-apps","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /universe/apps","href":"/api-reference/list-public-external-apps"},{"title":"get-external-app","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-apps/{idOrKeyOrUuid}","href":"/api-reference/get-external-app"},{"title":"create-external-app","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /external-apps","href":"/api-reference/create-external-app"},{"title":"update-external-app","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /external-apps/{idOrKeyOrUuid}","href":"/api-reference/update-external-app"},{"title":"delete-external-app","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /external-apps/{idOrKeyOrUuid}","href":"/api-reference/delete-external-app"}]},{"group":"Actions","root":{"title":"Actions","description":null,"href":"/reference/workspace-elements/actions"},"pages":[{"title":"Act","openapi":"POST /act","href":"/reference/workspace-elements/act"},{"title":"list-actions","description":"List actions — the operations the workspace can run against connected apps (e.g. list-orders, create-contact). Useful to understand what live operations could back a dashboard.","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /actions","href":"/api-reference/list-actions"},{"title":"get-action","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /actions/{selector}","href":"/api-reference/get-action"},{"title":"create-action","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /actions","href":"/api-reference/create-action"},{"title":"Update action partially","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /actions/{selector}","href":"/api-reference/actions/update-action-partially"},{"title":"Replace action completely","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json put /actions/{selector}","href":"/api-reference/actions/replace-action-completely"},{"title":"Reset action","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /actions/{selector}/reset","href":"/api-reference/actions/reset-action"},{"title":"Clone action","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /actions/{selector}/clone","href":"/api-reference/actions/clone-action"},{"title":"Export action (flat interface)","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /actions/{selector}/export","href":"/api-reference/actions/export-action-flat-interface"},{"title":"Get dependencies of action (flat interface)","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /actions/{selector}/dependencies","href":"/api-reference/actions/get-dependencies-of-action-flat-interface"},{"title":"Restore action (flat interface)","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /actions/{selector}/restore","href":"/api-reference/actions/restore-action-flat-interface"},{"title":"Refresh action","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /actions/{selector}/refresh","href":"/api-reference/actions/refresh-action"},{"title":"Archive action","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /actions/{selector}","href":"/api-reference/actions/archive-action"}]},{"group":"Data Links","root":{"title":"Data Links","href":"/reference/workspace-elements/data-links"},"pages":[{"title":"Data Link Table Instances","href":"/reference/workspace-elements/data-links/data-link-table-instances"}]},{"title":"Deliverables","href":"/reference/workspace-elements/deliverables"},{"group":"Field Mappings","root":{"title":"Field Mappings","href":"/reference/workspace-elements/field-mappings"},"pages":[{"title":"Field Mapping Instances","href":"/reference/workspace-elements/field-mappings/field-mapping-instances"}]},{"group":"External Events","root":{"title":"External Events","href":"/reference/workspace-elements/external-events"},"pages":[{"title":"Webhook Events","href":"/reference/workspace-elements/external-events/webhook"}]},{"group":"Flows","root":{"title":"Flows","href":"/reference/workspace-elements/flows"},"pages":[{"title":"Trigger Nodes","href":"/reference/workspace-elements/flows/trigger-nodes"},{"title":"Function Nodes","href":"/reference/workspace-elements/flows/function-nodes"},{"title":"Control Nodes","href":"/reference/workspace-elements/flows/control-nodes"},{"group":"Flow UI","root":{"title":"Flow UI","href":"/reference/workspace-elements/flows/flow-ui"},"pages":[{"title":"Custom Flow UI","href":"/reference/workspace-elements/flows/flow-ui/custom-flow-ui"},{"title":"Configure Flow Instance Parameters","href":"/reference/workspace-elements/flows/flow-ui/configure-flow-instance-parameters"},{"title":"Enable and Disable Flow Instances","href":"/reference/workspace-elements/flows/flow-ui/enable-and-disable-flow-instances-to"}]}]},{"group":"Tenants","root":{"title":"Tenants","href":"/reference/workspace-elements/tenants"},"pages":[{"title":"list-tenants","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /tenants","href":"/api-reference/list-tenants"},{"title":"create-tenant","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /tenants","href":"/api-reference/create-tenant"},{"title":"get-tenant","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /tenants/{id}","href":"/api-reference/get-tenant"},{"title":"update-tenant","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /tenants/{id}","href":"/api-reference/update-tenant"},{"title":"replace-tenant","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json put /tenants/{id}","href":"/api-reference/replace-tenant"},{"title":"delete-tenant","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /tenants/{id}","href":"/api-reference/delete-tenant"},{"title":"restore-tenant","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /tenants/{elementSelector}/restore","href":"/api-reference/restore-tenant"}]},{"group":"Search","root":{"title":"Search","href":"/reference/workspace-elements/search"},"pages":[{"title":"Search workspace elements by keyword","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /search","href":"/api-reference/workspaceelementssearch/search-workspace-elements-by-keyword"},{"title":"Search workspace elements using semantic similarity","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /semantic-search","href":"/api-reference/workspaceelementssearch/search-workspace-elements-using-semantic-similarity"}]},{"group":"Agent Sessions","root":{"title":"Agent Sessions","href":"/reference/workspace-elements/sessions"},"pages":[{"title":"List agent sessions","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /agent-sessions","href":"/api-reference/sessions/list-agent-sessions"},{"title":"Create a new agent session","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /agent-sessions","href":"/api-reference/sessions/create-a-new-agent-session"},{"title":"Get an agent session","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /agent-sessions/{id}","href":"/api-reference/sessions/get-an-agent-session"},{"title":"Update an agent session","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /agent-sessions/{id}","href":"/api-reference/sessions/update-an-agent-session"},{"title":"Send a message to a session (resumes if stopped, sends input if running)","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /agent-sessions/{id}/message","href":"/api-reference/sessions/send-a-message-to-a-session-resumes-if-stopped-sends-input-if-running"},{"title":"Stop an agent session","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /agent-sessions/{id}/stop","href":"/api-reference/sessions/stop-an-agent-session"},{"title":"Interrupt a running agent session","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /agent-sessions/{id}/interrupt","href":"/api-reference/sessions/interrupt-a-running-agent-session"}]},{"group":"Action Run Logs","root":{"title":"Action Run Logs","href":"/reference/workspace-elements/action-run-logs"},"pages":[{"title":"list-action-run-logs","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /action-run-logs","href":"/api-reference/list-action-run-logs"},{"title":"get-action-run-log","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /action-run-logs/{id}","href":"/api-reference/get-action-run-log"},{"title":"Get action run log details","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /action-run-logs/{id}/details","href":"/api-reference/actionrunlogs/get-action-run-log-details"}]},{"group":"External API Logs","root":{"title":"External API Logs","href":"/reference/workspace-elements/external-api-logs"},"pages":[{"title":"List external API logs","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-api-logs","href":"/api-reference/externalapilogs/list-external-api-logs"},{"title":"Get API log by ID","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-api-logs/{id}","href":"/api-reference/externalapilogs/get-api-log-by-id"},{"title":"Get API log content","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-api-logs/{id}/details","href":"/api-reference/externalapilogs/get-api-log-content"}]},{"group":"External Event Logs","root":{"title":"External Event Logs","href":"/reference/workspace-elements/external-event-logs"},"pages":[{"title":"list-external-event-log-records","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-event-log-records","href":"/api-reference/list-external-event-log-records"},{"title":"get-external-event-log-record","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-event-log-records/{id}","href":"/api-reference/get-external-event-log-record"},{"title":"Get external event log record details","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-event-log-records/{id}/details","href":"/api-reference/externaleventlogrecords/get-external-event-log-record-details"}]},{"group":"External Event Pulls","root":{"title":"External Event Pulls","href":"/reference/workspace-elements/external-event-pulls"},"pages":[{"title":"List external event pulls","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-event-pulls","href":"/api-reference/externaleventpulls/list-external-event-pulls"},{"title":"Get external event pull","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-event-pulls/{id}","href":"/api-reference/externaleventpulls/get-external-event-pull"},{"title":"Get external event pull logs","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /external-event-pulls/{id}/logs","href":"/api-reference/externaleventpulls/get-external-event-pull-logs"}]},{"group":"Incoming Webhooks","root":{"title":"Incoming Webhooks","href":"/reference/workspace-elements/incoming-webhooks"},"pages":[{"title":"List incoming webhooks","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /incoming-webhooks","href":"/api-reference/incomingwebhooksreader/list-incoming-webhooks"},{"title":"Get incoming webhook by ID","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /incoming-webhooks/{id}","href":"/api-reference/incomingwebhooksreader/get-incoming-webhook-by-id"},{"title":"Get incoming webhook details","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /incoming-webhooks/{id}/details","href":"/api-reference/incomingwebhooksreader/get-incoming-webhook-details"}]}]},{"group":"Management API","pages":[{"group":"Workspace Provisioning","root":{"title":"Workspace Provisioning","href":"/reference/management-api/workspace-provisioning"},"pages":[{"title":"create-org-workspace","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /org-workspaces","href":"/api-reference/create-org-workspace"},{"title":"get-org-workspace","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /org-workspaces/{id}","href":"/api-reference/get-org-workspace"},{"title":"update-org-workspace","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json patch /org-workspaces/{id}","href":"/api-reference/update-org-workspace"},{"title":"create-org-workspace-access-token","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /org-workspaces/{id}/access-token","href":"/api-reference/create-org-workspace-access-token"},{"title":"archive-org-workspace","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json delete /org-workspaces/{id}","href":"/api-reference/archive-org-workspace"},{"title":"restore-org-workspace","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /org-workspaces/{id}/restore","href":"/api-reference/restore-org-workspace"},{"title":"rotate-org-workspace-secret","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /org-workspaces/{id}/rotate-secret","href":"/api-reference/rotate-org-workspace-secret"}]},{"group":"Workspace Migration","root":{"title":"Workspace Migration","href":"/reference/management-api/workspace-migration"},"pages":[{"title":"Export all workspace elements","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json get /export","href":"/api-reference/exportmembraneinterfaces/export-all-workspace-elements"},{"title":"Import workspace elements from membrane zip file","deprecated":null,"version":null,"openapi":"/api-reference/membrane-api.json post /import","href":"/api-reference/importmembraneinterfaces/import-workspace-elements-from-membrane-zip-file"}]}]}]}]},"basePath":"","title":"Act - Membrane Docs","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}