Skip to content

Fin Agent Replied Event

Event fired when Fin replies to a user. Delivered via webhooks or SSE. The content of the response will be contained in the message object. Fin's status will update to 'awaiting_user_reply'.

event_namestringrequired

The name of the event.

Value:"fin_replied"
Example:"fin_replied"
conversation_idstringrequired

The ID of the conversation.

Example:"123456"
user_idstringrequired

The ID of the user.

Example:"7891"
messageobjectrequired

Fin's answer to the user's query.

statusstringrequired

Fin's current status (always 'awaiting_user_reply' for this event).

Value:"awaiting_user_reply"
Example:"awaiting_user_reply"
stream_idstring

Optional. Present when the reply was generated via streaming. Correlates this event with the fin_reply_chunk events that preceded it. Use this to know when to replace streamed chunk_text with the final message body.

Example:"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
created_at_msstring, (date-time)required

The timestamp the event was created at, with millisecond precision.

Example:"2025-01-24T10:00:00.123Z"
{ "event_name": "fin_replied", "conversation_id": "123456", "user_id": "7891", "message": { "id": "98765", "author": "fin", "body": "<p>You can see your account details by clicking on the <em>Account</em> tab in the top right corner of the screen.</p>", "timestamp_ms": "2025-01-24T09:01:00.456Z" }, "status": "awaiting_user_reply", "stream_id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4", "created_at_ms": "2025-01-24T10:00:00.123Z" }