Skip to content

siygle/campaignmonitor-webhook-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

campaign-monitor-cli

Campaign Monitor only provides API to manage webhook, so I made this simple CLI to make it easier to do this.

How-To

Install CLI first npm i campaignmonitor-webook-cli -g

You will ask to input apikey at the first time, and can use campaignmonitor-webook-cli --type auth to update token.

Support Behavior

Getting your clients
campaignmonitor-webook-cli -t get-client

Getting subscriber lists
campaignmonitor-webook-cli -t get-list clientID

List details
campaignmonitor-webook-cli -t show-list-info listID

List webhooks
campaignmonitor-webook-cli -t get-list-webhook listID

Create a webhook
campaignmonitor-webook-cli -t create-list-webhook listID Events(separate with ,) Url

Delete a webhook
campaignmonitor-webook-cli -t delete-list-webhook listID webhookID

Test a webhook
campaignmonitor-webook-cli -t test-list-webhook listID webhookID

About

CLI make manage campaign monitor webhook setting easier

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published