Sora2455
Sora2455

Reputation: 844

Add existing recipient tabs to new document

I'm using DocuSign's rest API to add recipient signing tabs to documents using anchor strings (For example, 'DevSignHere'). But if we add another document later for the same recipient with the same anchor strings, DocuSign doesn't add those tabs on those anchor strings.

How can I tell DocuSign to 'look again' for anchor strings?

Upvotes: 0

Views: 59

Answers (2)

Larry K
Larry K

Reputation: 49114

If the new document's fields (Tabs) are managed by a template, then you can use Composite Templates to have the document "processed" by the right template. Ask this as a new question if you want to investigate this route.

Upvotes: 0

Amit K Bist
Amit K Bist

Reputation: 6818

Once you have added a new document then you need to call below API for the recipient to create new Tabs on the new document:

POST /v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs

DS Docs

Example:

POST /restapi/v2/accounts/<accountId>/envelopes/<envelopeId>/recipients/1/tabs

{
                           "dateSignedTabs": [
                              {
                                 "anchorString": "\\D1\\",
                                 "recipientId": "1",
                                 "tabLabel": "internal_date"
                              }
                           ],
                           "signHereTabs": [
                              {
                                 "anchorString": "\\S1\\",
                                 "recipientId": "1",
                                 "tabLabel": "internal_sign"
                              }
                           ],
                           "textTabs": [
                              {
                                 "anchorString": "\\T1\\",
                                 "recipientId": "1",
                                 "tabLabel": "internal_contact"
                              }
                           ]
}

Upvotes: 1

Related Questions