The Fin Custom Helpdesk API allows you to integrate your custom helpdesk with Fin through a standardized set of API endpoints and webhooks.
Fin Custom Helpdesk API (0.0.1)
Request
This endpoint handles two distinct use cases depending on whether an event_type is provided:
When you omit the event_type field, Fin will synchronize the conversation by pulling the latest data from your endpoints. Use this when:
- An agent sends a message
- The conversation state changes (status, assignee, etc.)
- Any other conversation data changes that Fin should know about
Example payload:
{
"conversation_id": "conv_456"
}When you set event_type to agent_typing, Fin will display a typing indicator to the end-user in the Fin Messenger. No synchronization occurs - this is purely a real-time UI update.
Use this when an agent starts typing a response in your helpdesk. The typing indicator automatically dismisses after a few seconds.
Important: When using event_type: "agent_typing", the data.agent field is required and must include the agent's id, user_type, name, and email.
Example payload:
{
"conversation_id": "conv_456",
"event_type": "agent_typing",
"data": {
"agent": {
"id": "agent_001",
"user_type": "agent",
"name": "Sarah Johnson",
"email": "sarah.johnson@company.com"
}
}
}Optional. The type of event that occurred.
- Omitted or null: Fin will synchronize the conversation by pulling the latest data from your endpoints.
agent_typing: Displays a typing indicator to the end-user. No synchronization occurs. Requiresdata.agentto be provided.
- Fin Webhook US Endpointhttps://api.intercom.io/hooks/standalone/custom_helpdesk_conversation_event/{integration_id}
- Fin Webhook EU Endpointhttps://api.eu.intercom.io/hooks/standalone/custom_helpdesk_conversation_event/{integration_id}
- Fin Webhook AU Endpointhttps://api.au.intercom.io/hooks/standalone/custom_helpdesk_conversation_event/{integration_id}
- curl
- Node.js
- Ruby
- PHP
- Python
- Java
- Go
- C#
- R
curl -i -X POST \
https://api.intercom.io/hooks/standalone/custom_helpdesk_conversation_event/a3c729d4e8f6b15c \
-H 'Content-Type: application/json' \
-H 'X-Webhook-Key: YOUR_API_KEY_HERE' \
-d '{
"conversation_id": "conv_456"
}'