POST
/v1/webhook-endpointsRegister a webhook endpointRequest body
requiredapplication/json
objectCreateWebhookEndpointRequest
descriptionnull | stringeventsarray of stringrequiredShow child attributes
urlstring · urirequired{
"description": "string",
"events": [
"pickup.completed"
],
"url": "https://hooks.parcel-events.example/events"
}Responses
objectWebhookEndpoint
created_atstring · date-timerequiredenabledbooleanrequiredeventsarray of stringrequiredShow child attributes
idstringrequiredobjectvaluerequiredsigning_secret_hintstringurlstring · urirequired{
"created_at": "2026-06-09T00:00:00Z",
"enabled": true,
"events": [
"pickup.completed"
],
"id": "whe_00000000000000000001",
"object": "webhook_endpoint",
"signing_secret_hint": "synthetic-key-ending-0000",
"url": "https://hooks.parcel-events.example/events"
}objectProblem
detailstringerrorsarray of objectShow child attributes
Show array items
messagestringrequiredpathstringrequiredrequest_idstringrequiredstatusintegerrequiredtitlestringrequiredtypestring · urirequired{
"errors": [
{
"message": "must be a synthetic postal code",
"path": "recipient.postal_code"
}
],
"request_id": "req_00000000000000000006",
"status": 422,
"title": "Synthetic request validation failed",
"type": "https://parcel-events.example/problems/validation"
}