Skip to main content
Active Voice
July 18, 2024
Solved

DocuSign Custom Integration with Salesforce

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

Hengfeng Ge
Hero
July 21, 2024
  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/
Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.

2 replies

Hengfeng Ge
Hero
Hero
July 21, 2024
Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.
Docusign Employee
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!

Translate