> ## 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.

# Create invite-only membership consent

> Existing narrow flow, not account sign-in. Sign the exact accessMessage:
Vibe Market 2 — website access
Wallet: {lowercaseAddress}
Invite: {normalizedCodeOrRETURNING MEMBER}
Nonce: {nonce}
Expires: {expires}
This signature cannot spend tokens or make transactions.

Normalize code to uppercase; use RETURNING MEMBER in the message for an empty code. No trailing newline. This creates only invite/access consent.



## OpenAPI

````yaml /api-reference/vibemarket_openapi.json post /access
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:
  /access:
    post:
      tags:
        - Scoped sessions
      summary: Create invite-only membership consent
      description: >-
        Existing narrow flow, not account sign-in. Sign the exact accessMessage:

        Vibe Market 2 — website access

        Wallet: {lowercaseAddress}

        Invite: {normalizedCodeOrRETURNING MEMBER}

        Nonce: {nonce}

        Expires: {expires}

        This signature cannot spend tokens or make transactions.


        Normalize code to uppercase; use RETURNING MEMBER in the message for an
        empty code. No trailing newline. This creates only invite/access
        consent.
      operationId: vm2057
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/SignatureEnvelope'
                - type: object
                  properties:
                    code:
                      type: string
                      maxLength: 32
                      description: >-
                        Empty for returning member, otherwise normalized
                        uppercase 4–32 letters/digits/hyphens.
                  required:
                    - code
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  member:
                    $ref: '#/components/schemas/AccessMember'
                  token:
                    type: string
                required:
                  - member
                  - token
        '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'
        '503':
          description: Dependency or capacity unavailable. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    SignatureEnvelope:
      type: object
      properties:
        address:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        nonce:
          type: string
          format: uuid
          description: Fresh UUID v4, never reused.
        expires:
          type: integer
          format: int64
          description: >-
            Unix milliseconds; future and no more than five minutes from the
            server clock.
        signature:
          type: string
          pattern: ^0x[0-9a-fA-F]{130}$
      required:
        - address
        - nonce
        - expires
        - signature
      description: >-
        Sign the exact endpoint-specific message. A syntactically valid
        signature alone is not authorization.
    AccessMember:
      type: object
      properties:
        address:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        code:
          type: string
        referrals:
          type: integer
          format: int64
      required:
        - address
        - code
        - referrals
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error

````