move client api into a profile