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

# Refresh a public chat share viewing token

> Returns a short-lived read-only token for viewing a public chat share.

Operation ID: get__chat_shares_public_slug_runtime_token.



## OpenAPI

````yaml /openapi/itoflow-public.openapi.json get /chat-shares/public/{slug}/runtime-token
openapi: 3.1.0
info:
  description: >-
    All Itoflow APIs are experimental and may change without notice. Read-only
    operations marked interactive can be tried from the documentation; the
    others are reference-only.
  title: Itoflow Developer API
  version: 1.0.0
servers:
  - description: Itoflow API
    url: https://api.itoflow.ai
security: []
tags:
  - name: Account
  - name: Billing
  - name: Brokers
  - name: Chat
  - name: Connected MCP servers
  - name: GitHub
  - name: Market data
  - name: Monitors
  - name: Notifications
  - name: Portfolios
  - name: Risk runs
  - name: Sharing and data
  - name: Strategies
paths:
  /chat-shares/public/{slug}/runtime-token:
    get:
      tags:
        - Chat
      summary: Refresh a public chat share viewing token
      description: |-
        Returns a short-lived read-only token for viewing a public chat share.

        Operation ID: get__chat_shares_public_slug_runtime_token.
      operationId: get__chat_shares_public_slug_runtime_token
      parameters:
        - description: Public chat share slug
          in: path
          name: slug
          required: true
          schema:
            description: Public chat share slug
            example: VufIWcgY0FlG
            pattern: ^[A-Za-z0-9_-]{12}$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicChatShareRuntimeTokenResponse'
          description: Read-only token for viewing the chat share
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Chat share not found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Chat share is not ready to view
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Server error
      security: []
components:
  schemas:
    PublicChatShareRuntimeTokenResponse:
      properties:
        runtime:
          $ref: '#/components/schemas/PublicChatShareRuntime'
      required:
        - runtime
      type: object
    Error:
      properties:
        available:
          description: Optional available amount or value
          type: string
        billing_action:
          $ref: '#/components/schemas/BillingAction'
        code:
          description: Machine-readable error code
          type: string
        currentVersion:
          description: Current server-side version, when relevant
          type: number
        details:
          description: Optional structured error details
        error:
          description: Error type or code
          type: string
        expectedVersion:
          description: Client-provided expected version, when relevant
          type: number
        message:
          description: Human-readable error message
          type: string
        requested:
          description: Optional requested amount or value
          type: string
        usage:
          description: Optional usage metadata for limit errors
      required:
        - error
      type: object
    PublicChatShareRuntime:
      properties:
        chat_id:
          description: ID of the chat this public share shows
          example: share_VufIWcgY0FlG
          type: string
        expires_at:
          description: Token expiry time as Unix epoch seconds
          example: 1770000000
          exclusiveMinimum: 0
          type: integer
        kind:
          enum:
            - cloudflare_readonly_share
          example: cloudflare_readonly_share
          type: string
        token:
          description: Short-lived read-only token for viewing this share
          type: string
      required:
        - kind
        - chat_id
        - token
        - expires_at
      type:
        - object
        - 'null'
    BillingAction:
      description: Action that resolves a billing-related rejection
      properties:
        href:
          type: string
        kind:
          enum:
            - upgrade
            - payment_method
            - spending_cap
            - billing
          type: string
        label:
          type: string
      required:
        - href
        - label
        - kind
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.