2
votes

I didn't find in Docusign documentation how to pass in the Create Envelope the extension of a phone number in case of Phone authorization, as in the following example:

"idCheckConfigurationName": "Phone Auth $",
   "requireIdLookup": "true",
   "phoneAuthentication": {
       "recipMayProvideNumber": "false",
       "senderProvidedNumbers": [
           "206-222-1111"
       ]
   }

And I manually created on Docusign website an envelope with Phone authentication using phone number with extension. When I call Get Envelope Recipient the extension information is not returned.

So I'm wondering if the extension option is not supported at all by Docusign API currently.

2

2 Answers

0
votes

Try passing below JSON, after x you will pass the extension:

"phoneAuthentication": {
      "recipMayProvideNumber": false,
      "senderProvidedNumbers": ["+11119179638x312"]
    }
0
votes

@Amit Bist, it seems there is bug in how Docusign handles extension. Sometime it works and sometimes it does not. It supports both "x" and "ext" but the behavior is not consistent.

Look at below example

DocuSignAPI.ArrayOfString phoneNumbers = new DocuSignAPI.ArrayOfString();
phoneNumbers.SenderProvidedNumber = new List<String>{'4081231234x123', '4081231122x126'};

For some envelopes the extension is displayed, for some it is not. Sometimes one of the phone number would show the extension, and other would not. Even if number format is same for both the numbers. Other thing I noticed, minimum 3 digit are required for extensions to work.

enter image description here