g10
g10

Reputation: 31

Is there a rest api method for getting an Docusign OAuth Token that works?

I have been using the https://apiexplorer.docusign.com/#/esign/restapi site to look through available methods but when I have tried to use the getOAuthToken method under authentication to work, it gives me a 400 error every time I try to use it. Is there another method that works for this?

Upvotes: 0

Views: 65

Answers (1)

Drew
Drew

Reputation: 5029

The API Explorer refers to a deprecated form of the OAuth workflow.

The more up-to-date version is available here: https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant

Code examples are available in the DocuSign Github in various languages: https://github.com/docusign?q=auth-code-grant&type=&language=

Upvotes: 1

Related Questions