Skip to main content

Save or Update Webhook

POST 

/webhook

The save or update Webhook API allow you to save webhook url which is used to trigger events

events:

  1. viewed:
    • When signer viewed document this event will trigger.
    {
    "event": "viewed",
    "objectId":"DOCUMENT_ID"
    "file": "DOCUMENT_URL",
    "name": "DOCUMENT_NAME",
    "note": "Please review and sign this document",
    "description": "",
    "signers": [
    {
    "name": "SIGNER_NAME",
    "email": "SIGNER_EMAIL",
    "phone": "SIGNER_PHONE"
    }
    ],
    "viewedBy": "SIGNER_EMAIL",
    "viewedAt": "TIMESTAMP",
    "createdAt": "TIMESTAMP"
    }
  2. created:
    • When document is created this event will trigger.
    {
    "event": "created",
    "objectId":"DOCUMENT_ID"
    "file": "DOCUMENT_URL",
    "name": "DOCUMENT_NAME",
    "note": "Please review and sign this document",
    "description": "",
    "signers": [
    {
    "name": "SIGNER_NAME",
    "email": "SIGNER_EMAIL",
    "phone": "SIGNER_PHONE"
    }
    ],
    "createdAt": "TIMESTAMP"
    }

  3. signed:
    • When document is signed by signer this event will trigger.
    {
    "event": "signed",
    "objectId":"DOCUMENT_ID"
    "file": "DOCUMENT_URL",
    "name": "DOCUMENT_NAME",
    "note": "Please review and sign this document",
    "description": "",
    "signers": [
    {
    "name": "SIGNER_NAME",
    "email": "SIGNER_EMAIL",
    "phone": "SIGNER_PHONE"
    },
    ]
    "signedAt": "TIMESTAMP",
    "createdAt": "TIMESTAMP"
    }
  4. completed:
    • When document is signed by all signers this event will trigger.
    {
    "event": "completed",
    "objectId":"DOCUMENT_ID"
    "file": "DOCUMENT_URL",
    "name": "DOCUMENT_NAME",
    "note": "Please review and sign this document",
    "description": "",
    "signers": [
    {
    "name": "SIGNER_NAME",
    "email": "SIGNER_EMAIL",
    "phone": "SIGNER_PHONE"
    }
    ],
    "completedAt": "TIMESTAMP",
    "createdAt": "TIMESTAMP"
    }

  5. declined:
    • When document is declined by signer this event will trigger.
    {
    "event": "declined",
    "objectId":"DOCUMENT_ID"
    "file": "DOCUMENT_URL",
    "name": "DOCUMENT_NAME",
    "note": "Please review and sign this document",
    "description": "",
    "signers": [
    {
    "name": "SIGNER_NAME",
    "email": "SIGNER_EMAIL",
    "phone": "SIGNER_PHONE"
    }
    ],
    "declinedBy": "SIGNER_EMAIL",
    "declinedAt": "TIMESTAMP",
    "createdAt": "TIMESTAMP"
    }

Request

Body

Provide url to create Webhook

    url string

Responses

Successful operation

Schema

    result string
Loading...