Update api.md

Add note about methods being synchronous.