> ## 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 Flash Listing

> Adds a flash listing or batch of flash listings to an artist's portfolio



## OpenAPI

````yaml POST /flash/add
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:
  /flash/add:
    post:
      summary: Add Flash Listing
      description: Adds a flash listing or batch of flash listings to an artist's portfolio
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/CreateFlashRequest'
                - $ref: '#/components/schemas/CreateBatchFlashRequest'
      responses:
        '201':
          description: Flash listing(s) added successfully
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/AddFlashResponse'
                  - $ref: '#/components/schemas/AddBatchFlashResponse'
components:
  schemas:
    CreateFlashRequest:
      type: object
      required:
        - price
        - size
        - styles
      properties:
        price:
          type: string
          description: Price of the flash design
        size:
          type: string
          description: Size of the design
        sessionDuration:
          type: number
          description: Expected session duration in minutes
        styles:
          type: array
          items:
            type: string
          description: Tattoo styles
        tags:
          type: array
          items:
            type: string
    CreateBatchFlashRequest:
      type: object
      required:
        - flashItems
      properties:
        flashItems:
          type: array
          items:
            $ref: '#/components/schemas/CreateFlashRequest'
    AddFlashResponse:
      type: object
      properties:
        success:
          type: boolean
        flash:
          type: object
    AddBatchFlashResponse:
      type: object
      properties:
        success:
          type: boolean
        flash:
          type: array
          items:
            type: object
        count:
          type: number

````