Resources
Webhooks
Receive signed event notifications when documents are sent, viewed, completed, voided, or expired.
3 endpoints on Developer, 20 on paidHMAC-SHA256 signatures7 retries over 24h
List webhook endpoints
GET /api/v1/webhooks
curl -X GET \ https://www.sigpen.com/api/v1/webhooks \ -H "Authorization: Bearer sp_test_your_key"
Register a webhook endpoint
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | |
eventsrequired | array of enum: document.sent · document.viewed · document.signed · document.completed · document.declined · document.voided · document.expired | |
descriptionoptional | string |
POST /api/v1/webhooks
curl -X POST \
https://www.sigpen.com/api/v1/webhooks \
-H "Authorization: Bearer sp_test_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/webhooks/sigpen",
"events": [
"document.sent"
],
"description": "Production endpoint"
}'GET /api/v1/webhooks/{id}
curl -X GET \ https://www.sigpen.com/api/v1/webhooks/wh_123 \ -H "Authorization: Bearer sp_test_your_key"
PATCH /api/v1/webhooks/{id}
curl -X PATCH \ https://www.sigpen.com/api/v1/webhooks/wh_123 \ -H "Authorization: Bearer sp_test_your_key"
DELETE /api/v1/webhooks/{id}
curl -X DELETE \ https://www.sigpen.com/api/v1/webhooks/wh_123 \ -H "Authorization: Bearer sp_test_your_key"
POST /api/v1/webhooks/{id}/test
curl -X POST \ https://www.sigpen.com/api/v1/webhooks/wh_123/test \ -H "Authorization: Bearer sp_test_your_key"