Skip to main content
Solved

DocuSign Custom Integration with Salesforce

  • July 18, 2024
  • 2 replies
  • 46 views

Forum|alt.badge.img+3

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!!

Best answer by Hengfeng Ge

  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/

2 replies

Hengfeng Ge
Hero
Forum|alt.badge.img+18
  • Hero
  • Answer
  • July 21, 2024

Forum|alt.badge.img+17
  • Community Moderator
  • August 5, 2024

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!