API Reference
//
Update a Webhook Subscrip...
Update a webhook subscription by ID.
Security
api_key
Event types that trigger the webhook
Items Enum:"job.status.changed""sending.event.file.ready""sending.event.status.changed""peppol.document.received"
Example:
[ "job.status.changed", "sending.event.status.changed", "peppol.document.received" ]
- Mock serverhttps://doc.acc.connect.easypost.eu/_mock/public-api/openapi/webhooks/{id}
- https://api.acc.connect.easypost.euhttps://api.acc.connect.easypost.eu/webhooks/{id}
curl -i -X PATCH \
'https://doc.acc.connect.easypost.eu/_mock/public-api/openapi/webhooks/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-managed-company-id: string' \
-d '{
"name": "Production Webhook",
"url": "https://example.com/webhook",
"events": [
"job.status.changed",
"sending.event.status.changed",
"peppol.document.received"
],
"status": "DISABLED"
}'Event types that trigger the webhook
Items Enum:"job.status.changed""sending.event.file.ready""sending.event.status.changed""peppol.document.received"
Example:
[ "job.status.changed", "sending.event.status.changed" ]
Response
{ "id": "01HQXYZ123ABC456DEF789GHI", "name": "Production Webhook", "url": "https://example.com/webhook", "events": [ "job.status.changed", "sending.event.status.changed" ], "createdAt": "2026-06-01T10:30:00.000Z", "status": "ACTIVE", "lastModifiedAt": "2026-06-04T14:20:00.000Z" }