Access Fin programmatically via the Fin Agent API endpoints.
To request access to the Fin Agent API, go to Settings > Integrations > Fin Agent API in your workspace and tell us about your use case. Once access is granted, Fin Agent API appears under Fin AI Agent > Deploy.
Integration centres on the Fin Agent API endpoints — start a conversation with /fin/start and continue it with /fin/reply, or drive Fin from your own agent with /fin/capabilities, /fin/ask, /fin/procedures/{procedure_id}/run, and /fin/escalate — plus a set of events that notify your application of Fin's status and responses. Events are delivered via webhooks. You can also record a customer satisfaction rating with /fin/csat.
Pricing
Conversations you start with /fin/start are billed on outcomes: you're charged at most once per conversation, and only when Fin reaches a billable outcome such as a resolution. See Understanding Fin outcomes.
Events
Configure a webhook endpoint in the Fin Agent API settings to receive events. See the setup guide for configuration details.
fin_status_updated- Fired when Fin's status changes (escalated, resolved, complete)fin_replied- Fired when Fin sends a reply to the usercsat_requested- Fired when Fin asks the user to rate the conversation (submit the choice withPOST /fin/csat)
All webhook requests include an X-Fin-Agent-API-Webhook-Signature header for request validation.
A message exchanged within a Fin Agent conversation.
The body of the message. Accepts both plain text and HTML format. When sending a message to Fin, this should contain the user's message. Fin's response will be returned as HTML.
The timestamp when the message was created. Used to deduplicate messages sent within a 5 minute window. Ideally should include milliseconds for higher precision.
{ "author": "user", "body": "How can I see my account details?", "timestamp": "2025-01-24T10:01:20.000Z", "timestamp_ms": "2025-01-24T10:01:20.456Z" }