Authentication reference
This section contains reference information related to authentication, including a list of scopes and endpoints used in authentication scenarios.
For steps to troubleshoot common authentication errors, see this video:
Endpoints
The Docusign authentication service resides on a different domain than the eSignature API service. Calls to authentication service endpoints use the following base paths:
https://account-d.docusign.comfor the development environmenthttps://account.docusign.comfor all production environments
Unlike other Docusign production APIs, the single account.docusign.com domain is used for all operations, worldwide.
Note: For more information about authentication and how to authenticate, see Choose an OAuth type.
The authentication service exposes three endpoints:
- GET /oauth/auth: This endpoint is used to obtain consent and is the first step in several authentication flows. It has different functions, depending on the query parameter values used.
- POST /oauth/token: This endpoint enables you to exchange an authorization code or JWT token for an access token. This endpoint is called in most authentication flows.
- GET /oauth/userinfo: This endpoint returns information on the caller, including their name, email, account, and organizational information. The response includes the
base_urineeded to interact with the Docusign APIs.
Error codes
The following table describes the codes that may be returned as values for the error parameter.
Next steps
-
Explore the details of how to obtain access tokens using each grant:
- See how to obtain an access token with Confidential Authorization Code Grant.
- See how to obtain an access token with Public Authorization Code Grant.
- See how to obtain an access token with Implicit Grant.
- See how to obtain an access token with JWT Grant.
-
Learn about options for obtaining and revoking consent.