Skip to main content

Please tell!

Ques 1)Which is the correct way to set the header while doing Custom Integration of DocuSign with Salesforce?

req.setHeader('Authorization', 'Basic ' + EncodingUtil.base64Encode(INTEGRATOR_KEY + ':' + SECRET_KEY)); OR

req.setHeader('Content-Type', 'application/x-www-form-urlencoded');

Ques 2) What is referred as secret key in DocuSign how can i navigate there in DocuSign?

Ques 3) I am getting the Authorization code but to get accessToken i am getting status code 400 in Custom Integration any suggestions are welcome!!

  1. Determine the right OAuth type for your integration: https://developers.docusign.com/platform/auth/
  2. for Authorization code grant: https://developers.docusign.com/platform/auth/authcode/authcode-get-token/
  3. for jwt:https://developers.docusign.com/platform/auth/jwt/jwt-get-token/

Hello @singhanubhav ,


If you found the provided response to be a useful solution to your question, please mark it as the best answer by clicking “Select as Best” to make it easier for other users to find.


Best regards,

Nathaly | Docusign Community Moderator
"Select as Best" below if you find the answer a valid solution to your issue!


Reply