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

# Create Account Session

> Create a session for a project account. The returned session is used as `Authorization: Bearer <session>`.



## OpenAPI

````yaml /openapi.json post /api/v1/project/account/{account_id}/session
openapi: 3.1.0
info:
  title: Synthesis API
  version: 1.0.0
  description: Unified prediction market API for Polymarket and Kalshi.
servers:
  - url: https://synthesis.trade
security: []
tags:
  - name: Projects
    description: Create and manage project accounts, sessions, and account API keys.
  - name: Accounts
    description: >-
      Authenticate and manage account-level sessions, account API keys, and
      public account preferences.
  - name: Markets
    description: Unified market discovery and analytics across Polymarket and Kalshi.
  - name: Polymarket
    description: Polymarket market data, prices, orderbooks, trades, and holders endpoints.
  - name: Kalshi
    description: Kalshi market data, events, history, leaderboard, and profile endpoints.
  - name: Wallets
    description: Wallet management routes. Each wallet supports multiple chains.
  - name: Polygon
    description: >-
      Polygon wallet routes for balances, orders, minting, redemption,
      withdrawals, and swaps.
  - name: Polygon Copytrades
    description: Polymarket copytrade configuration and management for Polygon wallets.
  - name: Solana
    description: >-
      Solana wallet routes used for Kalshi balances, KYC, orders, redemption,
      and withdrawals.
  - name: News
    description: News endpoints with market and event matching.
  - name: WebSockets
    description: >-
      Real-time streaming endpoints for orderbooks, trades, balances, and live
      data feeds.
paths:
  /api/v1/project/account/{account_id}/session:
    post:
      tags:
        - Projects
      summary: Create Account Session
      description: >-
        Create a session for a project account. The returned session is used as
        `Authorization: Bearer <session>`.
      operationId: create-project-account-session
      parameters:
        - name: account_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '201':
          description: Account session created
          content:
            application/json:
              example:
                success: true
                response:
                  account_id: ...
                  session_id: ...
                  created_at: '2026-01-01T00:00:00'
                  expires_at: '2026-01-08T00:00:00'
      security:
        - ProjectApiKey: []
components:
  securitySchemes:
    ProjectApiKey:
      type: apiKey
      in: header
      name: X-PROJECT-API-KEY
      description: Project secret API key.

````