get and create notification api calls