add subscription endpoint