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:
-
viewed:
- When signer viewed document this event will trigger.
-
created:
- When document is created this event will trigger.
-
signed:
- When document is signed by signer this event will trigger.
-
completed:
- When document is signed by all signers this event will trigger.
-
declined:
- When document is declined by signer this event will trigger.
Request
- application/json
Body
Provide url to create Webhook
url string
Responses
- 200
- 401
- 404
- 405
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
result string
{
"result": "Webhook updated successfully!"
}
Webhook url already exists!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Webhook url already exists!"
}
User not found!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "User not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...