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)
Overview
Languages
Servers
Your Custom Helpdesk API (replace with your actual domain)
https://helpdesk.example.com/api/fin/
Request
Retrieve an end-user by their ID.
Used to load an end-user from the customer’s system. We will call this during synchronization to get the latest data about the end-user to drive the Fin workflows and tasks correctly. If using the Fin messenger with a logged in and verified end-user, we will load the end- user when they start a new conversation.
Security
BearerAuth
- Your Custom Helpdesk API (replace with your actual domain)https://helpdesk.example.com/api/fin/user
- curl
- Node.js
- Ruby
- PHP
- Python
- Java
- Go
- C#
- R
curl -i -X GET \
'https://helpdesk.example.com/api/fin/user?user_id=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "id": "user_123456", "user_type": "end_user", "name": "Jane Doe", "email": "jane.doe@example.com", "photo_url": "https://example.com/avatars/jane.jpg", "attributes": { "plan_type": "enterprise", "signup_date": "2024-01-15", "is_premium": true } }
- Your Custom Helpdesk API (replace with your actual domain)https://helpdesk.example.com/api/fin/user
- curl
- Node.js
- Ruby
- PHP
- Python
- Java
- Go
- C#
- R
curl -i -X PUT \
https://helpdesk.example.com/api/fin/user \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"user_id": "user_123",
"attributes": {
"plan_type": "enterprise",
"signup_date": "2024-01-15",
"is_premium": true
}
}'Response
application/json
{ "id": "user_123456", "user_type": "end_user", "name": "Jane Doe", "email": "jane.doe@example.com", "photo_url": "https://example.com/avatars/jane.jpg", "attributes": { "plan_type": "enterprise", "signup_date": "2024-01-15", "is_premium": true } }
Bodyapplication/json
User's email (may not be known at creation time)
Example: "jane.doe@example.com"
- Your Custom Helpdesk API (replace with your actual domain)https://helpdesk.example.com/api/fin/user
- curl
- Node.js
- Ruby
- PHP
- Python
- Java
- Go
- C#
- R
curl -i -X POST \
https://helpdesk.example.com/api/fin/user \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Jane Doe",
"email": "jane.doe@example.com",
"object_id": "123456"
}'Response
application/json
{ "id": "user_123456", "user_type": "end_user", "name": "Jane Doe", "email": "jane.doe@example.com", "photo_url": "https://example.com/avatars/jane.jpg", "attributes": { "plan_type": "enterprise", "signup_date": "2024-01-15", "is_premium": true } }