Try to read a little bit before spamming for help. Emby has a nice api and wiki where you can get all the info you need, plus it uses swagger (so it is even easier). BTW, here is your command to trigger the library refresh:
curl -d "" -X POST http://embyip:embyport/Library/Refresh?api_key=embyapi
Sorry if you felt hurted but if I think that the wiki could be better is what I think, as I could not find that specific curl command on it, apart from other posts that people wrote
Edited by el_pedriyo, 09 September 2018 - 04:22 PM.