add createEvent api method