Skip to main content
Newcomer
Aug 13, 2026 12:59 AM UTC
Question

How to retrieve docusign for SIT url

We're currently in the staging phase, and I can't receive DocuSign data on our SIT environment because its URL is an internal ".local" address that DocuSign can't reach from the public internet.

In local development, I use ngrok to expose my localhost so DocuSign can reach it, which works fine. But if I do the same for SIT, I'd have to keep ngrok running continuously, which doesn't seem like the right approach for a shared environment.

Does anyone have suggestions on the best way to handle DocuSign Connect webhooks for an internal SIT environment like this?

1 reply

Kevin.Ponseel
Docusign Employee
Docusign Employee
Dec 3, 2026 9:40 AM UTC

Hi haikal222, you're right that ngrok isn't the answer for a shared environment. Connect needs a listener URL reachable from the public internet, but your processing code doesn't have to be. The pattern Docusign recommends is a small public listener plus a queue:

1. Deploy a lightweight listener on a serverless platform (AWS Lambda, Azure Functions or Google Cloud Functions). It validates the message (Basic Auth and/or HMAC) and drops it on a queue: AWS SQS, Azure Service Bus or Google Cloud Pub/Sub.

2. Your SIT worker stays on the internal .local network and pulls messages from the queue. The connection is outbound from behind the firewall, so no inbound firewall change is needed.

3. The worker then calls the eSignature REST API to download documents or update your app.

Docusign has ready-made samples on GitHub: connect-node-listener-aws, plus worker apps in several languages (e.g. connect-python-worker-aws, connect-java-worker-aws). The full walkthrough is in the Developers blog series "Building best practices webhook listeners" (part 3: Behind the firewall, part 4: Behind the firewall with AWS). A bonus: the same setup works unchanged for PROD.

Translate
https://www.linkedin.com/in/kevinponseel/