Create a flow function
POST /api/v1/flow-functions
Authentication
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Request
Description of what the function does (1-1000 characters)
Display name (1-255 characters)
Structured HTTP request: method, url, pathParams, queryParams, body.
See [RequestSchema] for shape.
Per-parameter source bindings keyed by flat param name. Optional —
defaults to empty {} (all parameters are LLM-extracted). Keys must
match a property name in request.pathParams, request.queryParams,
or request.body. Values:
{ "source": "llm" }— LLM extracts from conversation{ "source": "call_context", "contextKey": "caller.contact_id", "onNull": "reject" }{ "source": "static", "value": "2026-01" }
Timeout in milliseconds (100-30000)
Headers to send with the webhook (encrypted at rest). Write-only.
Response
Whether encrypted headers are configured (never exposes actual headers)
Per-parameter source bindings keyed by flat param name. Empty object {}
means all params are LLM-extracted. See CreateFlowFunctionRequest.param_bindings.
Structured HTTP request shape (method, url, pathParams, queryParams, body)
URL-safe slug