api method for tagging contacts.