adding client api