You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The external ID of the conversation. Returned when you escalate an existing conversation by `conversation_id` (echoed back). When you escalate a `user`, a new conversation is created and only `intercom_conversation_id` is returned.
25349
+
example: ext-123
25350
+
intercom_conversation_id:
25351
+
type: string
25352
+
description: The internal Intercom conversation ID. Returned when a new conversation was created for the escalation.
25353
+
example: '987654321'
25354
+
sse_subscription_url:
25355
+
type: string
25356
+
description: |
25357
+
Optional. A URL to subscribe to Server-Sent Events (SSE) for this conversation, if SSE is enabled. The access token is a JWT with a 3-minute TTL. The token is revoked when Fin sets the conversation to complete status. Includes a `rewind` window so a subscriber that connects after the escalation is processed can still receive the `escalated` and `complete` events.
description: The resulting status of the conversation.
25364
+
example: escalated
25365
+
'400':
25366
+
description: Bad Request
25367
+
content:
25368
+
application/json:
25369
+
examples:
25370
+
Neither identifier provided:
25371
+
value:
25372
+
type: error.list
25373
+
request_id: b68959ea-6328-4f70-83cb-e7913dba1542
25374
+
errors:
25375
+
- code: parameter_invalid
25376
+
message: Either conversation_id or user must be provided
25377
+
Conversation not found:
25378
+
value:
25379
+
type: error.list
25380
+
request_id: b68959ea-6328-4f70-83cb-e7913dba1542
25381
+
errors:
25382
+
- code: parameter_invalid
25383
+
message: Conversation not found
25384
+
schema:
25385
+
"$ref": "#/components/schemas/error"
25386
+
'401':
25387
+
description: Unauthorized
25388
+
content:
25389
+
application/json:
25390
+
examples:
25391
+
Unauthorized:
25392
+
value:
25393
+
type: error.list
25394
+
request_id: b68959ea-6328-4f70-83cb-e7913dba1542
25395
+
errors:
25396
+
- code: unauthorized
25397
+
message: Access Token Invalid
25398
+
schema:
25399
+
"$ref": "#/components/schemas/error"
25400
+
requestBody:
25401
+
required: true
25402
+
content:
25403
+
application/json:
25404
+
schema:
25405
+
type: object
25406
+
properties:
25407
+
conversation_id:
25408
+
type: string
25409
+
description: The external ID of the conversation to escalate. Provide this or `user`.
25410
+
example: ext-123
25411
+
user:
25412
+
"$ref": "#/components/schemas/fin_agent_user"
25413
+
message:
25414
+
type: string
25415
+
maxLength: 10000
25416
+
description: Optional first message for the new conversation, used only when escalating on behalf of a `user`. Shown to the end-user (unlike `context`, which is an internal note), so don't include sensitive orchestration data. Defaults to "Requesting human support".
25417
+
example: I'd like to speak to a human about my refund.
25418
+
context:
25419
+
type: string
25420
+
maxLength: 10000
25421
+
description: Optional context for the receiving teammate explaining why the conversation is being escalated. Attached as an internal note, never shown to the user. Avoid including credentials or unnecessary personal data — the note is visible to any teammate with access to the conversation.
25422
+
example: Customer is requesting a refund and is frustrated.
25423
+
oneOf:
25424
+
- required:
25425
+
- conversation_id
25426
+
- required:
25427
+
- user
25428
+
examples:
25429
+
Escalate an existing conversation:
25430
+
value:
25431
+
conversation_id: ext-123
25432
+
context: Customer is requesting a refund and is frustrated.
25433
+
Escalate on behalf of a user:
25434
+
value:
25435
+
user:
25436
+
id: '123456'
25437
+
name: John Doe
25438
+
email: john.doe@example.com
25439
+
message: I need help with my billing issue
25283
25440
"/fin/start":
25284
25441
post:
25285
25442
summary: Start a conversation with Fin
@@ -40606,7 +40763,7 @@ tags:
40606
40763
40607
40764
40608
40765
40609
-
Orchestrate Fin from your own agent: discover what Fin can do with `/fin/capabilities`, ask a one-shot question with `/fin/ask`, run a specific procedure with `/fin/procedures/{procedure_id}/run`, and continue a conversation with `/fin/reply`. Fin notifies your application of its status and responses through a set of events, delivered via webhooks or Server-Sent Events (SSE).
40766
+
Orchestrate Fin from your own agent: discover what Fin can do with `/fin/capabilities`, ask a one-shot question with `/fin/ask`, run a specific procedure with `/fin/procedures/{procedure_id}/run`, continue a conversation with `/fin/reply`, and escalate to a human with `/fin/escalate`. Fin notifies your application of its status and responses through a set of events, delivered via webhooks or Server-Sent Events (SSE).
0 commit comments