Created
May 21, 2018 04:42
-
-
Save IbrahimTareq/fa777f8bb27582cd051c7ea16257f2e2 to your computer and use it in GitHub Desktop.
Code snippet on how to retrieve all webhooks created using the MessageMedia Webhooks Node.js SDK.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function retrieveWebhook(){ | |
var controller = setup(); | |
var page = 0; | |
var pageSize = 0; | |
controller.retrieveWebhook(page, pageSize, function(error, response, context) { | |
console.log(response); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment