Skip to main content
GET
Returns Fini-provided Business Rule templates as summary objects. Use a template’s id as defaultRuleId when creating a template-based rule.
This endpoint supports Business Rules only. Intent Rules do not have default templates.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs read scope.

Query parameters

string
Optional source filter. The current enum value is widget.

Response

Returns an array of Business Rule template summary objects without flowConfig.
Default templates have companyId: null. A workspace rule created from a template references it through defaultRuleId or defaultBusinessRuleId and cannot provide its own flowConfig.

Errors

source is not a supported rule source.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the read scope required for this route.
Fini failed while loading default rules.