Hi ,
I am using DocuSign Connect to connect to an API . API uses OAuth and an additional security using an header .
How do I pass an additional header to the api ? Thanks for the help .
Hi ,
I am using DocuSign Connect to connect to an API . API uses OAuth and an additional security using an header .
How do I pass an additional header to the api ? Thanks for the help .
Hello,
Take a look in this article:
OAuth for Docusign Connect
https://developers.docusign.com/platform/webhooks/connect/validation-and-security/oauth-connect/
I hope that helps, if so, I’d appreciate your Like here.
Best,
Alexandre
This blog article is very useful too:
https://www.docusign.com/blog/developers/introducing-oauth-connect-enhanced-security-webhooks
Hi Alexandre ,
Thank you for the reply . I had gone through this article but I wanted to add an extra header in the call from docusign to my api .
Hi,
To add extra headers to your DocuSign API calls, you can use the ApiClient
object and its set_default_header
method in the SDKs (like Python or C#). For example, to add a header named "X-Docusign-TimeTrack", you would use apiClient.set_default_header("X-Docusign-TimeTrack", "your_value")
Also, You can add additional headers to be used with API calls that use the ApiClient
object. The "Authorization"
header is used to provide the authentication information for the request. The token is added after the word "Bearer"
, provided in the accessToken
variable. This only needs to be done once for all API calls that will be utilizing the same ApiClient
object; however, the token is only valid for eight hours. You will need to obtain a new one and update this header when the token expires. (Link to the article)
I hope that helps.
Alexandre
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.