This paper is probably relevant for your question: MR0528966 Wolpert, Scott The length spectra as moduli for compact Riemann surfaces. Ann. of Math. (2) 109 (1979), no. 2, 323–351.