It’s not documented yet, but there is a create notification api endpoint:
POST /notifications(.:format) notifications#create {:format=>/(json|html|\*\/\*)/}
You might be able to use the custom notification type instead of having to create your own.