rewind api