Skip to main content
POST
Duplicates an existing custom Business Rule in the workspace. Template-based Business Rules cannot be duplicated.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Path parameters

string
required
Business Rule ID to duplicate.

Body parameters

string
required
Name for the copied rule.
string
Optional description for the copied rule.

Response

Returns the copied Business Rule.

Errors

The Business Rule is template-based, has no executable tree, or the copied rule references invalid agents, actions, or widget forms.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope required for this route.
The Business Rule does not exist in your workspace.