Cajole means to persuade someone to do something by sustained coaxing or flattery. 'Flatter' is the correct synonym as both involve using praise or compliments to influence someone's behavior, though cajole has a more persistent, persuasive connotation.