This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When a user chooses a document to sign.. the document gets uploaded to E-Sign and we use the id in the response to create the E-Sign redirect url | |
curl -X 'POST' \ | |
'https://sandbox.e-sign.co.uk/v3/uploads' \ | |
-H 'accept: application/json' \ | |
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJpZCI6InJRY0swLVNXUkFjUHFfSVAyV05kWlpVU0xzbklvdyIsImF1dGhfdG9rZW4iOiJQdnJzTmp6YlNoRWFtcVU0TUpveSIsInN1YiI6Ijc0MCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTcxMjg0NTY4MiwiZXhwIjoxNzE1MDA1NjgyLCJqdGkiOiI4NzRkN2ZkNS1hOTExLTQ0ZDAtOTBlNy1jNjA1NjQ4ZTE5YjYifQ.9O5afb3u9TNn3qa6RCPDEoaGIQ2QBhR1Ww2dFLNl9Hc' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"uploads": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X 'POST' \ | |
'https://sandbox.e-sign.co.uk/v3/oauth/applications' \ | |
-H 'accept: application/json' \ | |
-H 'Authorization: Token token="3-s1gn2kSh4r3p01nt!"' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"oauth_app": { | |
"name": "Sharepoint user1", | |
"redirect_uri": "https://test.com", | |
"scopes": ["read_write"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"envelope": { | |
"id": "53660c74-c28d-4474-be22-1cba3f4cd658", | |
"title": "Contract Signing Pack", | |
"subject": "", | |
"description": "", | |
"envelope_status": "Pending", | |
"href": "https://xyz.e-sign.co.uk/#/v3/envelopes/53660c74-c28d-4474-be22-1cba3f4cd658", | |
"language": "english", | |
"thumbnail": "https://esign-staging.s3-eu-west-1.amazonaws.com/uploads/document_image/002/317/947/thumb_Credit_Agreement_1.png?X-Amz-Expires=86400\u0026X-Amz-Date=20240426T084533Z\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAJLGLLV6CP7FXUFRA/20240426/eu-west-1/s3/aws4_request\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Signature=7d92a272f08ab6f5cee1b353b99fed3d2c95b2c9e4216de5518c26c25a98ddb8", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⋊> ~/S/e-sign-sharepoint on main ◦ gulp package-solution 07:34:48 | |
Build target: DEBUG | |
[07:35:04] Using gulpfile ~/Sites/e-sign-sharepoint/gulpfile.js | |
[07:35:04] Starting 'package-solution'... | |
[07:35:04] Starting gulp | |
[07:35:04] Starting subtask 'package-solution'... | |
[07:35:04] [package-solution] Found manifest: b34efd1c-0c32-44c0-aa52-b245a6477f8c.manifest.json | |
[07:35:04] [package-solution] Found teams icons: 9f850f12-df0f-4f1c-800c-a249c7117705_color.png | |
[07:35:04] [package-solution] Found teams icons: 9f850f12-df0f-4f1c-800c-a249c7117705_outline.png | |
[07:35:04] [package-solution] Verifying configuration... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## get webhooks | |
curl -X 'GET' \ | |
'https://sandbox.e-sign.co.uk/v3/webhooks' \ | |
-H 'accept: application/json' \ | |
-H 'Authorization: Bearer bearertoken' | |
## create webhook | |
``` | |
curl -X 'POST' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entity.name:E-Sign-API-V3 (Sandbox) | |
entity.type:SERVICE | |
hostname:app1-2.e-sign.co.uk | |
level:INFO | |
message: | |
Target: https://esigns.azurewebsites.net/esignwebhook/9cfa62f9-cd50-4423-a8a5-3d47275c81e9, | |
Event: envelope_completed, | |
webhookable_id: 535983, | |
webhookable_type: Envelope, | |
payload: {"envelope":{"id":"e03e6dd1-b3bd-4f3d-9991-03a3bbe9e2a3","title":"sample","subject":"","description":"","envelope_status":"Signed","href":"https://xyz.e-sign.co.uk/#/v3/envelopes/e03e6dd1-b3bd-4f3d-9991-03a3bbe9e2a3","language":"english","thumbnail":"https://esign-staging.s3-eu-west-1.amazonaws.com/uploads/document_image/002/333/149/thumb_ef7080b7-ac5b-42ac-8083-86b1aceeed7e_1.png?X-Amz-Expires=86400\u0026X-Amz-Date=20240606T103231Z\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAJLGLLV6CP7FXUFRA/20240606/eu-west-1/s3/aws4_request\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Signature=a05a06701521bd95d554fd446d1f04bc3a635af08aacac16059 |
OlderNewer