can I get creator of a file by rest api?
You can get the user who created the first version of a file using the GET file versions endpoint.
GET file versions