Skip to content

Instantly share code, notes, and snippets.

@IbrahimTareq
Created May 21, 2018 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IbrahimTareq/fa777f8bb27582cd051c7ea16257f2e2 to your computer and use it in GitHub Desktop.
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.
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