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

# Send a room line with chat-only consent

> Existing chat-only token write. Text is normalized to a single line and limited to 240 Unicode code points. New account-session clients use POST /account kind chat. Invalid session/message errors on this compatibility route return 400, not necessarily 401.



## OpenAPI

````yaml /api-reference/vibemarket_openapi.json post /chat/messages
openapi: 3.0.3
info:
  title: vibe.market API
  version: '2026-09-10'
  description: >-
    Consumer HTTP API for the current vibe.market at
    https://vibechain.com/market. This is an experimental protocol; review
    https://vibechain.com/terms. Public reads do not require Classic API keys.
    Discover runtime graphs rather than hardcoding a revision. The
    /api/vibemarket2 namespace is intentional. Operational provider webhooks and
    operator-only controls are excluded.
  termsOfService: https://vibechain.com/terms
servers:
  - url: https://build.vibechain.com/api/vibemarket2
    description: Current-market backend
security: []
tags:
  - name: Discovery
  - name: Indexed market
  - name: Board
  - name: Live updates
  - name: Creators
  - name: Artwork
  - name: Accounts
  - name: Community
  - name: Private messages
  - name: Scoped sessions
paths:
  /chat/messages:
    post:
      tags:
        - Scoped sessions
      summary: Send a room line with chat-only consent
      description: >-
        Existing chat-only token write. Text is normalized to a single line and
        limited to 240 Unicode code points. New account-session clients use POST
        /account kind chat. Invalid session/message errors on this compatibility
        route return 400, not necessarily 401.
      operationId: vm2053
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                text:
                  type: string
                  maxLength: 240
              required:
                - text
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  line:
                    $ref: '#/components/schemas/ChatLine'
                required:
                  - line
        '400':
          description: Invalid input, signature or action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate/admission limit. Honor Retry-After if present.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Dependency or capacity unavailable. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ChatSession: []
components:
  schemas:
    ChatLine:
      type: object
      properties:
        id:
          type: string
        address:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        text:
          type: string
        at:
          type: integer
          format: int64
      description: >-
        Room line. See returned payload for display/profile fields; timestamps
        are Unix milliseconds.
      required:
        - id
        - address
        - text
        - at
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    ChatSession:
      type: http
      scheme: bearer
      bearerFormat: Chat-only session token
      description: >-
        Narrower /chat/session token; not the account session and not valid for
        private DMs.

````