Skip to main content

Get Users

This help page will guide you through the process of retrieving a list of all users in your organization using the eNotaryLog Notarization API. You'll need your API access token to proceed.

Requirements​

  1. You need to have Node.js installed on your system.
  2. You'll also need the axios library. You can install it using the following command:
npm install axios

Step 1: Retrieve Users​

Use the following code snippet to retrieve all users in your organization. Replace <accessToken> with your API access token.

const axios = require('axios');

const config = {
method: 'get',
url: 'https://public-api.enotarylog.com/users',
headers: {
'Authorization': 'Bearer <accessToken>'
}
};

axios(config)
.then(function (response) {
console.log('Users retrieved successfully:', response.data);
})
.catch(function (error) {
console.log(error);
});

Steps to Execute the Code Snippet​

  1. Create a new file named get_users.js.
  2. Copy and paste the code snippet provided above into the new file.
  3. Replace <accessToken> with your API access token.
  4. Save the file and open a terminal or command prompt.
  5. Navigate to the folder where you saved the get_users.js file.
  6. Run the following command:
node get_users.js

Additional Resources​

For more information about the Notarization API, visit the official documentation.

If you need further assistance or have questions, feel free to reach out to our support team.