Write Api a reference fields

I also opened another question here about the same but with lists type… I couldn’t write them with the API, is there any similar secret for those? thanks