Event API (get/post)