Add subscription endpoint

Staging branch for subscription endpoints added by @everpeace