> ## Documentation Index
> Fetch the complete documentation index at: https://docs.expys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stream a member's conversation over SSE

> Server-Sent Events stream of a member's conversation. Each event is `data: <PublicMessage JSON>` (id, authorID, type, body, createdAt). Comment lines `: heartbeat` keep the connection alive. Only NEW, member-visible messages are sent; use the messages endpoint for history.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/conversations/{id}/stream
openapi: 3.0.3
info:
  description: Public REST API for embedding Expys experiences into a client app.
  title: Expys API
  version: 1.4.0
servers:
  - url: https://api.expys.com
    description: >-
      Expys API. Sandbox and live share this host; the environment is selected
      by which key you exchange for a member token, not by the URL.
security: []
paths:
  /v1/conversations/{id}/stream:
    get:
      tags:
        - Conversations
      summary: Stream a member's conversation over SSE
      description: >-
        Server-Sent Events stream of a member's conversation. Each event is
        `data: <PublicMessage JSON>` (id, authorID, type, body, createdAt).
        Comment lines `: heartbeat` keep the connection alive. Only NEW,
        member-visible messages are sent; use the messages endpoint for history.
      operationId: streamMessages
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            text/plain:
              schema:
                description: >-
                  An SSE stream (text/event-stream). Each message event is
                  `data: <PublicMessage JSON>\n\n`.
                type: string
          description: >-
            An SSE stream (text/event-stream). Each message event is `data:
            <PublicMessage JSON>\n\n`.
          headers:
            X-Request-Id:
              description: >-
                Per-request correlation id. Quote it to support to trace the
                call in the server logs.
              schema:
                type: string
        '401':
          description: Authentication is missing or invalid.
          headers:
            X-Request-Id:
              description: >-
                Per-request correlation id. Quote it to support to trace the
                call in the server logs.
              schema:
                type: string
        '403':
          description: Authenticated, but not permitted to access this resource.
          headers:
            X-Request-Id:
              description: >-
                Per-request correlation id. Quote it to support to trace the
                call in the server logs.
              schema:
                type: string
        '404':
          description: The resource does not exist or is not visible to this caller.
          headers:
            X-Request-Id:
              description: >-
                Per-request correlation id. Quote it to support to trace the
                call in the server logs.
              schema:
                type: string
        '429':
          description: Rate limit exceeded; honor the Retry-After header.
          headers:
            X-Request-Id:
              description: >-
                Per-request correlation id. Quote it to support to trace the
                call in the server logs.
              schema:
                type: string
        '500':
          description: An unexpected server error occurred.
          headers:
            X-Request-Id:
              description: >-
                Per-request correlation id. Quote it to support to trace the
                call in the server logs.
              schema:
                type: string
      security:
        - ApiKeyBearer: []
        - ApiKeyHeader: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: |-
            curl https://api.expys.com/v1/conversations/<id>/stream \
              -H "Authorization: Bearer YOUR_MEMBER_TOKEN"
components:
  securitySchemes:
    ApiKeyBearer:
      description: Org-API-Key as a Bearer token.
      scheme: bearer
      type: http
    ApiKeyHeader:
      description: Org-API-Key as a header.
      in: header
      name: x-api-key
      type: apiKey

````