API calls for subscribing to events