Collection
...
Please see the next sample authorization (Bearer token):
Key | Value |
---|---|
"Authorization" | "Bearer asdfngtmvv8pfmsuaxpzz85zux3e63dd9zttrwitx9mln6qka6tds83du3p3lroe" |
Please see the next sample authorization (api token):
Key | Value |
---|---|
"ApiToken" | "asdfngtmvv8pfmsuaxpzz85zux3e63dd9zttrwitx9mln6qka6tds83du3p3lroe" |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "Documents": [ { "FileId": "8a4fd938-1234-1234-842a-be1e1d472b1c", "DocumentNumber": 1 } ], "Name": "Test", "Activities": [ { "Action": { "Sign": { "RecipientConfiguration": { "ContactInformation": { "Email": "janedoe@sample.com", "GivenName": "Jane", "Surname": "Doe" } }, "Elements": { "Signatures": [ { "TaskConfiguration": { "OrderDefinition": { "OrderIndex": 1 } }, "ElementId": "sample sig click2sign", "Required": true, "DocumentNumber": 1, "DisplayName": "Sign here", "AllowedSignatureTypes": { "ClickToSign": {} }, "FieldDefinition": { "Position": { "PageNumber": 1, "X": 100, "Y": 200 }, "Size": { "Width": 100, "Height": 70 } } } ] }, "SigningGroup": "firstSigner" } } }, { "Action": { "SendCopy": { "RecipientConfiguration": { "ContactInformation": { "Email": "johndoe@sample.com", "GivenName": "John", "Surname": "Doe" } } } } } ] } |
Open the envelope
After you have sent the envelope and you have got the envelopeId you can call the method https://demo.esignanywhere.net/api/v6/envelope/{envelopeId}/viewerlinks. With the result of this method you get information about the envelope and you can find the workstepRedirectionURL (Viewerlink).
Figure | Description | |||||||
---|---|---|---|---|---|---|---|---|
Steps:
Response
With this redirection link it is possible to open and sign the document in your web portal. |
Download the signed document
Before downloading the documents we need the file Ids. Therefore the following api call is necessary:
Figure | Description | |||||||
---|---|---|---|---|---|---|---|---|
Steps:
Response
Here you can see all three Ids for the documents which can be downloaded. |
After this call just add the Ids in the following api call URI and download the documents:
Figure | Description |
---|---|
Steps:
Response |
How to use variables in Postman
...