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

# Add Session

> Adds a new session to an existing booking



## OpenAPI

````yaml POST /bookings/add-session
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /bookings/add-session:
    post:
      summary: Add Session to Booking
      description: Adds a new session to an existing booking
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddSessionRequest'
      responses:
        '200':
          description: Session added successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - Not authorized to add session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AddSessionRequest:
      type: object
      required:
        - id
        - dateTimestamp
        - startTime
        - endTime
        - location
        - sessionType
      properties:
        id:
          type: string
          description: ID of the booking to add session to
        dateTimestamp:
          type: number
          description: Timestamp for the session date
        startTime:
          type: number
          description: Session start time timestamp
        endTime:
          type: number
          description: Session end time timestamp
        location:
          $ref: '#/components/schemas/Location'
          description: Location details for the session
        sessionType:
          type: string
          enum:
            - CONSULTATION
            - TATTOO
          description: Type of session
        sessionPrice:
          type: string
          description: Price for the session
        sessionDepositFee:
          type: string
          description: Deposit fee for the session
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    Location:
      type: object
      required:
        - address
        - city
        - state
        - country
        - latitude
        - longitude
      properties:
        address:
          type: string
          description: Street address
        city:
          type: string
          description: City name
        state:
          type: string
          description: State/province
        country:
          type: string
          description: Country
        latitude:
          type: number
          description: Location latitude
        longitude:
          type: number
          description: Location longitude

````