How to get a list of enabled jurisdictions
This topic demonstrates how to use the Notary API to get a list of the notary’s jurisdictions and their status.
Run this code example from our Quickstart or launcher projects: Bash, PowerShell.
Required data
Running the code in this how-to requires this data:
Step 1. Obtain your OAuth token
To make the API call shown in this how-to, you need a valid OAuth access token. Docusign supports access tokens for three different recommended OAuth grant types: Public Authorization Code Grant, Confidential Authorization Code Grant, and JSON Web Token (JWT) Grant. Choose the OAuth grant type appropriate for your scenario.
Docusign Notary OAuth access tokens are the same ones used for our eSignature REST API, although you must request four scopes to call the Docusign Notary API endpoints: notary_read, notary_write, organization_read, and signature.
See Authentication for guidance on your options to get an OAuth token.
Step 2. List jurisdictions
Make a request to the Jurisdiction:getJurisdictions endpoint to retrieve the status of all the jurisdictions for your account. Here’s how you make the call, but make sure to substitute your API account ID for {ACCOUNT_ID}.
View the source code for this how-to on GitHub: Bash, PowerShell.
Expected response
If you run this code example from our Quickstart or launcher projects, you should see a JSON response similar to the code shown.
Next steps
- Run this code example from our Quickstart or launcher projects: Bash, PowerShell.
- Learn more about remote online notary.
- Learn How to send a signature request to a notary group.
- Learn How to invite a notary to your pool.
- See how to Go-Live with a completed app and find the base path for API calls in the production environment.