Skip to main content

Get started with the Fin Agent API

How to integrate Fin into your own AI agent or product using the Fin Agent API - setup, endpoints, notification options, and escalation.

Written by Dawn P

The Fin Agent API is for developers integrating Fin into their own AI agents or products. Use this article to set up the API, understand the available endpoints, and configure how your integration receives responses. Your agent stays in control — call Fin to get an informational answer, trigger a procedure, or escalate to a human teammate.

Note: The Fin Agent API is in beta. To request access, go to Settings > Integrations > Fin Agent API in your workspace and click Request access.


What can the Fin Agent API do?

The Fin Agent API supports three main use cases:

  • Get a single answer: Call /fin/ask to get an AI-generated answer to a customer question without starting a full conversation — ideal for help center search or in-product tooltips.

  • Trigger a procedure: Use /fin/procedures/{procedure_id}/run to deterministically run a specific Fin procedure — ideal for structured workflows like account changes or refund requests.

  • Escalate to a human: Use /fin/escalate to hand off to a human teammate when needed. Pass an optional context note to give the receiving teammate background on why the handoff is happening.


How to set up the API

To generate your API key:

  1. Go to Fin AI Agent > Deploy > Fin Agent API.

  2. Click Generate API key.

  3. Copy the key and store it securely — it's used to authenticate all API requests.

Once you have your API key, you're ready to start building your integration. Refer to the developer documentation at the end of this article for complete implementation details.

Important: Fin Agent API tokens have a minimal permission scope (write_conversations only). Don’t use them to call other Intercom APIs, and only make calls server-side — never expose the token in client-side code.


How the Fin Agent API works

The Fin Agent API has six active orchestration endpoints, all available on API version 2.14 and above (set Intercom-Version: 2.14 or later):

  • /fin/capabilities — discover which actions are available for a user

  • /fin/ask — get a single informational answer without starting a full conversation

  • /fin/procedures/{procedure_id}/run — deterministically run a specific Fin procedure

  • /fin/reply — continue a multi-turn conversation

  • /fin/escalate — hand off to a human teammate

  • /fin/csat — submit a customer satisfaction rating for a Fin Agent API conversation

Note: The legacy /fin/start endpoint continues to work for existing integrations but is no longer actively developed — new features are only added to the orchestration endpoints above.

How Fin sends responses

The Fin Agent API sends Fin’s replies and status updates to your webhook endpoint. You’ll need a publicly accessible endpoint to receive these events. Add your callback URL in your Fin Agent API settings, and use the signing secret to validate each request.

How the status flow works

When a Fin Agent API conversation is started, Fin progresses through the following statuses:

  • thinking — Fin is processing the request

  • replying — a multi-part reply is in progress (API version 2.16 and above)

  • awaiting_user_reply — Fin has responded and is waiting for the next customer message

  • escalated — the conversation has been handed off to a human, signalled via a fin_status_updated event with status: 'escalated'

  • resolved — the conversation is resolved

  • complete — the workflow has ended; control passes back to your client

Allow Fin to continue uninterrupted until complete is returned. For /fin/ask, the conversation ends directly with resolved or complete — there is no awaiting_user_reply cycle.

How to escalate to a human

Use /fin/escalate to hand a Fin Agent API conversation off to a human teammate. If you use the Intercom Helpdesk, the handoff lands in your team inbox. Escalation is signalled by a fin_status_updated event with status: 'escalated', followed by complete. The fin_status_updated event you receive includes an optional reason field — a human-readable string explaining why the escalation happened. When you call /fin/escalate directly, the reason is always "Escalation requested via API". Use this to route or prioritize the escalated conversation in your system.

Learn more about the Fin Agent API in our developer documentation:


💡Tip

Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts


Did this answer your question?