Skip to navigation

Authentication

View as Markdown

Before your application can make calls to the Rooms API, it must authenticate and obtain an access token. You must submit this access token, which proves your app’s identity and authorization, with each request.

You can use any supported OAuth2 authentication workflows to obtain an access token and make calls to the Rooms API: Authorization Code Grant, Implicit Grant, or JSON Web Token (JWT) Grant. Service integrations may use Authorization Code Grant or JWT grant, while mobile apps may use Implicit Grant. See platform authentication for an overview of these grants and how to choose which grant to use for your app.

Prerequisites

Before you can use the Docusign Rooms API, you need the following:

  1. A Docusign eSignature developer account and a Docusign Rooms account.

  2. An integration key that identifies your app.

  3. A defined redirect URI for your integration key. This is the URL the user’s internet browser will be sent to the redirect URI after authentication is complete.

  4. You must also have configured your app correctly for the OAuth type you want to use. For details, see configure your app.

Required scopes

The only difference between authenticating with the Rooms API and the eSignature API is that when you request an access token for your OAuth2 scenario, you must request a special Rooms API scope during the authentication process. You can combine Rooms scopes with eSignature API scopes.

You can choose from the following Rooms scopes:

ScopeDescription
dtr.rooms.readRead rooms data.
dtr.rooms.writeUpdate the data of a room.
dtr.documents.readRead documents from Docusign Rooms.
dtr.documents.writeWrite documents to Docusign Rooms.
dtr.profile.readRead profile data for accounts or signers associated with your company.
dtr.profile.writeWrite profile data to accounts or signers associated with your company.
dtr.company.readRead information from all rooms and profiles associated with your company.
dtr.company.writeWrite information to all rooms and profiles associated with your company.
room_formsUse endpoints related to the forms feature.
signatureThe eSignature API signature scope is required to call the GetESignPermissionProfiles method.
  • Using Authorization Code Grant, you request scopes when you make the authorization code request.
  • Using Implicit Grant, you request scopes when you make the access token request.
  • Using JWT Grant, you request scopes in the body of the JWT token.

Next steps: