1

With SSO enabled, each user's password is managed by the company AD server. Applications usually do not have password information. To make a DocuSign API call, username, password and IngratorKey are required. How do I make API call from the applications without the password?

1 Answers1

1

If your account is SSO enabled and you want to use the API. You will want to exempt one of your user's from SSO, to generate a password. API calls authenticate from this user and use Send on Behalf of for the other user's on the account that do not have passwords.

Andrew
  • 4,443
  • 5
  • 33
  • 75
  • Thanks Andrew. More questions. Are you saying that I can use one user account to get data of other users and execute DocuSign actions on behalf for the other users? Does this "one user" have to be an administer or any special account? – user3735171 Jul 17 '14 at 16:19
  • Yes that is exactly correct. They need to have "Account Wide Access". See page 22 here: https://www.docusign.com/sites/default/files/REST_API_Guide_v2.pdf#page=22 – Andrew Jul 17 '14 at 16:51
  • No problem, if this solved your question. Please accept it as an answer so others can benefit from this information. – Andrew Jul 17 '14 at 17:34
  • Did not work yesterday from my PHP code. Will continue to try if I can find a time today. It would be great if the document had a workable PHP sample program. – user3735171 Jul 18 '14 at 16:05
  • there are code snippets that give examples in PHP here: http://iodocs.docusign.com/apiwalkthroughs – Andrew Jul 21 '14 at 16:26
  • I have a working php code with this: $header = "" . $email . "" . $password . "" . $integratorKey . ""; But if I change the above to: $header = "xxxx@yahoo.com" . $email . "" . $password . "" . $integratorKey . ""; The php code does not work, the return error is 401. – user3735171 Jul 22 '14 at 16:22
  • the SendOnBehalfOf node goes inside the DocuSignCredentials node.$header = "" . $email . "" . $password . "" . $integratorKey . "xxxx@yahoo.com" – Andrew Jul 22 '14 at 16:25