Subscription Management
You can manage created subscriptions (listing, updating Webhook settings, etc.) using the MOUNTAIN Public API.
List Subscriptions​
View all your event monitoring subscriptions.
API Endpoint:
Example:
const subscriptions = await eventApi.getEventNotifierSubscriptions();
console.log('Your subscriptions:', subscriptions.eventNotifierSubscriptions);
Update Webhook Settings​
Configure webhook endpoints and notification preferences.
API Endpoint:
Example:
const updated = await eventApi.updateEventNotifierSubscriptionWebhook({
id: 'subscription-id',
webhookEnabled: true,
webhookURL: 'https://new-endpoint.com/webhook',
webhookMaxRetries: 3,
});
Resend Failed Webhooks​
Retry webhook deliveries that previously failed.
API Endpoint:
Example:
const result = await eventApi.resendFailedWebhook({
subscriptionId: 'subscription-id',
force: false,
});
Get Event Records​
View event records and notification history.
API Endpoint:
Example:
const records = await eventApi.getEventNotifierRecords({
subscriptionId: 'subscription-id',
});
console.log('Event records:', records.eventNotifierRecords);
Next Steps​
- Review event structure to understand notification payloads
- Implement webhook receiver to handle notifications