GetUserInfo lookup). Use these public routes to create, read, update, delete, and test both from your backend, so a workspace can be set up entirely through the API instead of the dashboard.
For database and warehouse-backed lookups, Fini still calls an HTTPS endpoint. Put a scoped API in front of Redshift, Snowflake, BigQuery, Postgres, or another warehouse, then configure that endpoint as an external API call. See Database and Warehouse Connections.
The wire-format paths use
/hc-tools and /api-function-configs because that is the current controller contract. In this reference we call them actions, attributes, and external API calls because that is what they represent in the product.An Action and an Attribute are the same resource, distinguished by one field:
alwaysGet: false: an Action, invoked by a rule.alwaysGet: true: an Attribute, fetched automatically each conversation.
alwaysGet to separate them.How the pieces fit
An action or attribute holds the name, description, and typed input and output schema. Its actual HTTP calls live in one or more external API call steps (api-function-configs, still called Data Steps in the wire-format object) linked by toolId and run in stepNumber order, each feeding its extracted output into the next.
Setup order
Creating a working action or attribute is a short sequence, the same one the dashboard performs:1
Create the action or attribute
POST /v2/hc-tools/public with name and alwaysGet.2
Add the input and output schema
PATCH /v2/hc-tools/{id}/public with inputSchema and outputSchema.3
Add one or more external API calls
POST /v2/api-function-configs/public with toolId set and a stepNumber.4
Attach to agents (attributes only)
POST /v2/hc-tools/junctions/public to assign the attribute to agents. Attributes only run for assigned agents. For actions, skip this and wire the action into a Rulebook Tool node instead; action assignments are stored but not enforced at runtime.5
Test it
POST /v2/hc-tools/{id}/test-run/public to run the whole chain, or POST /v2/api-function-configs/test-run/public to test one HTTP call.Endpoint map
Eachhc-tools route is documented twice, once per type, since the same endpoint serves both.
Action or Attribute object
false for an Action (rule-invoked), true for an Attribute (fetched automatically each conversation).Optional source. Current values include
ui, api, widget, and integration providers such as zendesk and intercom.Set when the record is backed by a built-in integration handler instead of Data Steps. Read-only through the public API.
InputSchemaField object
OutputSchemaField object
Path to bind the output value from. For an API response field, use
[stepId].[responseMappingKey], where stepId is the external API call ID and responseMappingKey is a key from that step’s responseMapping.The “Visible to AI” flag. When
true, the resolved value is exposed to the agent. Applies to attributes.When
source is apiResponse, include the external API call ID in path. For example, if step 5fea0043-d7ae-45ea-951b-e007f4443e81 saves a response field as hasBeenProcessed, the matching output schema path is 5fea0043-d7ae-45ea-951b-e007f4443e81.hasBeenProcessed. A bare hasBeenProcessed key can resolve at runtime, but the dashboard action editor will not show it as mapped in Connect values to the fields that will be returned.Data Step object
Returned by the Data Step routes. Sensitive header and body values are masked on read (see below).Request URL. Supports
${fieldName} interpolation from inputs and ${stepId.responseMappingKey} interpolation from earlier external API calls. {{placeholder}} syntax is not supported.ResponseMapping object
A map of output key to either a response path string, or an object with a path and data type. A path of"." means the entire response body.
Sensitive values and masking
Header and body values can be marked sensitive (for example, an API key). On read, a sensitive value comes back as{ "hide": true, "value": "********" }. Non-sensitive values come back as { "hide": false, "value": <value> }.
When you update a Data Step, you can send the masked
"********" back unchanged and the stored secret is preserved. Send a new string to replace it. To store a value as sensitive, send { "hide": true, "value": "<secret>" }.Action or Attribute test-run result
Returned by Test action and Test attribute.For attributes, a map of output field name to its
sendToLlm (Visible to AI) flag. Empty for actions.
