Real-time Survey Tool Documentation
    Preparing search index...
    • Handles GET requests to retrieve invite codes. Only authenticated users can access this endpoint. Administrators can retrieve all invite codes, while other users can only retrieve codes they created.

      Parameters

      • request: Request

        The incoming request object.

      Returns Promise<NextResponse<any[]> | NextResponse<{ error: any }>>

      A promise that resolves to a Next.js response object.