olivier mauduit
olivier mauduit

Reputation: 1

DocuSign API - define from which group (in case an user is linked to multiple groups) the envelope must be sent

We use API connection to send envelopes. I found how to apply brand in the envelope but not group. Can I set the group (and associated parameters) in the envelope, as some of my users are identified in several groups?

Thank you

We send and receive envelopes using only one account now, but we need to configure more accounts to deal with different settings

Upvotes: 0

Views: 53

Answers (1)

Inbar Gazit
Inbar Gazit

Reputation: 14050

First, not sure if when you say "group" you mean account, or you mean group, because both things exist in DocuSign, and are different.

Second, since this is Stackoverflow, I'll assume you are writing code and building an integration and not just using the web app.

So, I'll address both options:

Group:

This article shows you how to do this in 6 langs, here is how the C# code looks like:

// signingGroupId should hold the string with the Signing Group ID
Signer signer1 = new Signer 
{
    Name = "test1", // Signing group name
    SigningGroupId = signingGroupId,
    RecipientId = "1",
};

Note that you have to have a group and find the ID for this group.

Account:

If you are using the API, the account is based on the authentication or on the access token you obtained. You will have to use a different account to authenticate and also make API calls. AccountId is a unique GUID that determines the account you use and is passed on the URL for each API, however, it's not enough just to change this URL, you have to have an access token obtained for this account by using either JWT or

Auth Code Grant

.

Upvotes: 0

Related Questions