Skip to main content
Question

How to send as an Agent

  • January 13, 2025
  • 2 replies
  • 28 views

Forum|alt.badge.img+2

I am using an C# example for sending documents to recipients and that works, but I want to send to an agent since I will not know the recipients, but when I add the Agent, the email never prompts for the signer emails to forward to?

 

   Agent agent1 = new Agent
   {
       Email = signerEmail,
       Name = signerName,
       RecipientId = "1",
       RoutingOrder = "1",
   };
  
   // Add the recipients to the envelope object
   Recipients recipients = new Recipients
   {
       Agents = new List<Agent> { agent1 },          
   };
   env.Recipients = recipients;

2 replies

Forum|alt.badge.img+2
  • Author
  • New Voice
  • 6 replies
  • January 13, 2025

So, I need to set the Signer email and name both to an empty string then it works.


Forum|alt.badge.img+1
  • Docusign Employee
  • 6 replies
  • January 14, 2025

Hello,

This is Alice, Developer Support Engineer at Docusign. It is nice to meet you. :)

 

We will need to check the context of agent usage with C# in more detail. Please create a new case with us via this link: https://support.docusign.com/s/createCase and make sure to select APIs & Development as case category.

Upon sending a new case, please provide us with the integration key used, a sample envelope ID in which agents as recipients were used, if any, and, as possible, C#'s .cs file including the referenced code. 

 

We will return to you as soon as we can to your new case.

Thank you in advance!

 

Alice Goglione (she/her) | Developer Support Engineer II

NPikcCCy65KbqEI-Qwh7_-2s-pMm9JQ0NWFuBi_87cbSqVm1ezaRscPxxxn8hNpSDIntAJY_Df2XcFQnyrz2xpyCN7Almg7rZJJa3P3UjP7pKPmIUPLHMjSgigZnQcgQfxtGOcR1EW4EQ-9RuoTfLA