← Unified API Explorer/#public-function

#public-function Endpoints (3)

POST/v1/public/automation/{org_id}/{function_id}open-api (Python :8010)#public-function

Execute Public Function Api

Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`). Enforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`, executes the function in the AST sandbox, and supports custom HTTP return structures (such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).

POST/v1/public/automation/function/{org_id}/{function_id}open-api (Python :8010)#public-function

Execute Public Function Api

Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`). Enforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`, executes the function in the AST sandbox, and supports custom HTTP return structures (such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).

POST/v1/public/automation/{org_id}/function/{function_id}open-api (Python :8010)#public-function

Execute Public Function Api

Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`). Enforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`, executes the function in the AST sandbox, and supports custom HTTP return structures (such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).