initial working API for creating notifications