Skip to main content
GET
/
v2
/
hc-rules
/
{id}
/
public
Get rule
curl --request GET \
  --url https://api-prod.usefini.com/v2/hc-rules/{id}/public \
  --header 'Authorization: <authorization>'
Returns one full Rule object.

Headers

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

Path parameters

id
string
required
Rule ID to fetch.

Response

Returns one full Rule.
Current controller behavior: if the rule is a draft, this route returns botIds: [].

Errors

The API key is missing, malformed, revoked, or invalid.
The API key does not include the read scope required for this route.
The rule ID does not exist in your workspace.