retrieve accout by api