Using a SSO Token in REST to Manually edit the Envelope

Last updated 2020-06-15 18:17:54 UTC

You are able to open an envelope, created with the submit/prepare REST method, inside the Simple Setup User Interface to perform further modifications manually before sending the envelope to the Signatory.  Since the SSO Token is only valid for 30 seconds, it's best to launch simple setup in a web browser in an automated fashion.

First, get the authToken, using it in the Authorization headers of your submit/prepare post.

Then, create the envelope, which will return the prepareEnvelopeID.

Accept: application/json
Authorization: Bearer AllYourTokenHere

// prepared envelope contents

preparedEnvelopeID = 


Next, create an ssoToken with the same information your created your preparedEnvelopeID with:

Accept: application/json
Authorization: Bearer AllYourTokenHere

{ }

ssoToken = 

Finally, put these together, with the correct domain prefix and open in web browser.  Some examples below: