API Documentation
MCP
Contract
PDF and Word
Placeholder
Template
Webhook
Update webhook
Update an existing webhook.
Copy
curl -X POST 'https://api.sendforsign.com/api/webhook' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "update",
"webhooks": [
{
"webhookKey": "WEBHOOK_KEY",
"url": "URL",
"created": true,
"seen": true
}
]
}
}'
Copy
{
"webhooks": [
{
"webhookKey": "WEBHOOK_KEY",
"changeTime": "2024-04-08T09:01:12.000Z"
}
],
"code": "201",
"message": "Webhooks updated"
}
Body parameters
Action type.
Array of webhooks. Add the fields that need to be updated and ignore the rest.
Show child attribute
Show child attribute
Webhook’s key.
Webhook’s endpoint.
Event to listen: contract.created
.
Event to listen: contract.seen
.
Event to listen: contract.sent
.
Event to listen: contract.approved
.
Event to listen: contract.signed
.
Event to listen: contract.fully_signed
.
Response
The code of the answer.
The message of the answer.
Copy
curl -X POST 'https://api.sendforsign.com/api/webhook' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "update",
"webhooks": [
{
"webhookKey": "WEBHOOK_KEY",
"url": "URL",
"created": true,
"seen": true
}
]
}
}'
Copy
{
"webhooks": [
{
"webhookKey": "WEBHOOK_KEY",
"changeTime": "2024-04-08T09:01:12.000Z"
}
],
"code": "201",
"message": "Webhooks updated"
}
Copy
curl -X POST 'https://api.sendforsign.com/api/webhook' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "update",
"webhooks": [
{
"webhookKey": "WEBHOOK_KEY",
"url": "URL",
"created": true,
"seen": true
}
]
}
}'
Copy
{
"webhooks": [
{
"webhookKey": "WEBHOOK_KEY",
"changeTime": "2024-04-08T09:01:12.000Z"
}
],
"code": "201",
"message": "Webhooks updated"
}
Assistant
Responses are generated using AI and may contain mistakes.