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

> Bookmarks a flash listing for the authenticated user



## OpenAPI

````yaml POST /flash/bookmarks/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/bookmarks/add:
    post:
      summary: Add Flash Bookmark
      description: Bookmarks a flash listing for the authenticated user
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - flashId
                - artistId
              properties:
                flashId:
                  type: string
                  description: ID of the flash listing to bookmark
                artistId:
                  type: string
                  description: ID of the artist who created the flash
                notes:
                  type: string
                  description: Optional notes about the bookmark
                customTags:
                  type: array
                  items:
                    type: string
                  description: Optional custom tags for the bookmark
      responses:
        '201':
          description: Bookmark created successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - bookmark
                properties:
                  success:
                    type: boolean
                    description: Whether the operation was successful
                  bookmark:
                    $ref: '#/components/schemas/FlashBookmark'
                    description: The created bookmark
        '400':
          description: Bad request - missing required fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    FlashBookmark:
      type: object
      required:
        - id
        - userId
        - flashId
        - artistId
        - createdAt
      properties:
        id:
          type: string
          description: 'Composite key: `${userId}_${flashId}`'
        userId:
          type: string
          description: ID of the user who bookmarked the flash
        flashId:
          type: string
          description: ID of the bookmarked flash
        artistId:
          type: string
          description: Denormalized artist ID for easier queries
        createdAt:
          type: number
          description: Timestamp when bookmark was created
        notes:
          type: string
          description: Optional user notes about the bookmark
        customTags:
          type: array
          items:
            type: string
          description: Optional user-defined tags
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````