[api] creating notification functions to be sent out to hermes