v1
latestOpenAPI 3.0.22026-07-146168117.0 KBPapersign Webhooks
This endpoint returns a creates a new webhook for a Papersign Folder. Please note that this feature is exclusively available as part of the Papersign API.
post/papersign/folders/{id}/webhooks
Path parameters
idnumber required
The ID of the Papersign folder.
Request body
Example request
{
"name": "My Webhook",
"target_url": "https://example.com/webhook",
"scope": "folder.direct_children",
"triggers": [
"document.created",
"document.updated"
]
}Response
Successfully created a webhook for a Papersign folder.
Example response
{
"results": {
"webhook": {
"target_url": "https://example.com/webhook",
"scope": "folder.direct_children",
"folder": {
"id": 9999,
"name": "My Document",
"parent_id": 9999,
"space_id": 8888
},
"triggers": [
"document.completed",
"document.cancelled"
]
}
}
}