(#1247) - Make api.id() async