Guest User

Untitled

a guest
Jun 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. const lib = require('messagemedia-conversations-sdk');
  2.  
  3. // Configuration parameters and credentials
  4. lib.Configuration.basicAuthUserName = "API_KEY"; // The username to use with basic authentication
  5. lib.Configuration.basicAuthPassword = "API_SECRET"; // The password to use with basic authentication
  6.  
  7. var controller = lib.AppUsersController;
  8.  
  9. var appUserId = 'appUserId';
  10.  
  11. controller.getAppUserById(appUserId, function(error, response, context) {
  12. console.log(response);
  13. });
Add Comment
Please, Sign In to add comment