web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

How to Integrate DocuSign API with Business Central Using AL?

(0) ShareShare
ReportReport
Posted on by 23

Hi everyone 👋,

 

I need guidance on how to integrate DocuSign with Dynamics 365 Business Central using AL code.

 

My requirement is:


  • Run a report in Business Central

  • Convert it to PDF

  • Send the PDF directly to DocuSign using the REST API

  • DocuSign should email the signer automatically

  • Later I want to track the envelope status and download the signed document

  •  

I already have:


  • DocuSign Account (Developer/Sandbox)

  • Integration Key (Client ID)

  • Secret Key

  • Account ID

  • OAuth Token URL

  •  
 

What I need help with:


  1. How to generate OAuth Access Token from AL (client_credentials flow)

  2. How to build the envelope JSON in AL

  3. How to attach a Base64 PDF

  4. How to send /envelopes request using HttpClient

  5. Example AL code or best practices

  6. Any security tips


  7.  

If someone can share:


  • AL code sample

  • Folder structure (codeunit, setup table, page)

  • API documentation links

  • Steps to test through Postman

  •  

…that would be very helpful!

 

Thank you 🙏

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,790

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 3,371 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 2,034 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans