# Fin Agent Replied Event

> This is a subset of the full specification, limited to the `fin_agent_replied_event` schema.
>
> You can find the full specification here: /_bundle/docs/references/@2.15/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: '2.15'
  description: This is a subset of the full specification, limited to the `fin_agent_replied_event` schema.
  contact:
    name: Intercom Developer Hub
    url: https://developers.intercom.com
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
servers:
  - url: https://api.intercom.io
    description: The production API server
  - url: https://api.eu.intercom.io
    description: The european API server
  - url: https://api.au.intercom.io
    description: The australian API server
security:
  - bearerAuth: []
paths: {}
components:
  schemas:
    fin_agent_replied_event:
      title: Fin Agent Replied Event
      type: object
      description: |
        Event fired when Fin replies to a user.
        Delivered via webhooks. The content of the response will be contained in the message object.
        Fin's status will update to 'awaiting_user_reply'.
      x-tags:
        - Fin Agent
      properties:
        event_name:
          type: string
          enum:
            - fin_replied
          description: The name of the event.
          example: fin_replied
        conversation_id:
          type: string
          description: The ID of the conversation.
          example: '123456'
        user_id:
          type: string
          description: The ID of the user.
          example: '7891'
        message:
          type: object
          description: Fin's answer to the user's query.
          properties:
            id:
              type: string
              description: A unique identifier for this message.
              example: '98765'
            author:
              type: string
              enum:
                - fin
              description: The author of the message (always 'fin' for this event).
              example: fin
            body:
              type: string
              description: The HTML body of Fin's response.
              example: <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:
              type: string
              format: date-time
              description: The timestamp the message was created at, with millisecond precision.
              example: '2025-01-24T09:01:00.456Z'
            sources:
              type: array
              description: |
                The content sources Fin used to generate this reply, in the same order as the
                [n] citation markers in the body. Present only when Fin cited content.
              items:
                type: object
                properties:
                  title:
                    type: string
                    description: The title of the source.
                    example: Managing your account
                  type:
                    type: string
                    enum:
                      - article
                      - external
                    description: Whether the source is an Intercom article or external content.
                    example: article
                  url:
                    type: string
                    description: The URL of the source.
                    example: https://www.example.com/help/en/articles/1-managing-your-account
                required:
                  - title
                  - type
                  - url
              example:
                - title: Managing your account
                  type: article
                  url: https://www.example.com/help/en/articles/1-managing-your-account
          required:
            - author
            - body
            - timestamp_ms
        status:
          type: string
          enum:
            - awaiting_user_reply
          description: Fin's current status (always 'awaiting_user_reply' for this event).
          example: awaiting_user_reply
        created_at_ms:
          type: string
          format: date-time
          description: The timestamp the event was created at, with millisecond precision.
          example: '2025-01-24T10:00:00.123Z'
      required:
        - event_name
        - conversation_id
        - user_id
        - message
        - status
        - created_at_ms
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
