Syncthing api add device

Hello maintainer, could you share the automatic acceptance of new device scripts? I saw that you replied to one on the forum. Can add device automation through API, thank you. Sorry, there is no code foundation

Do you have a link to that forum post?