client API