Skip to main content

Finding a Notary ID

Finding a Notary ID to Assign a Notarization Session​

In order to assign a notarization session to a notary within your organization, you'll need to find the notaryId of the desired notary. You can use the following endpoint to retrieve a list of notaries associated with your organization.

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:

Get Notaries in an Organization​

Endpoint: GET /notaries

This endpoint retrieves a list of notaries associated with the authenticated organization.

Sample Code​

Here's a code snippet to fetch the notaries in your organization:

const axios = require('axios');

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

axios(config)
.then(function (response) {
console.log('Notaries in the organization:', response.data);
})
.catch(function (error) {
console.log(error);
});

Replace <accessToken> with your API access token.

Storing Notary IDs in Your System​

To minimize the need for repeated calls to the GET /notaries endpoint, we recommend storing the notaryId values in your system. This way, you can quickly and easily assign notarization sessions to notaries without making additional API calls.

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.