Request Body
HTTPS URL where webhook events will be sent
List of event types to subscribe to (empty means all events)
Description of the webhook endpoint
Base64 encoded secret for webhook signatures (optional, will be generated if not provided)
{
"url": "https://example.com/webhook",
"filterTypes": ["shipment.created", "shipment.address.updated", "pickup.completed"],
"description": "Production webhook endpoint"
}
{
"id": "ep_2KtRQ8fTStWPKrXP",
"url": "https://example.com/webhook",
"filterTypes": ["shipment.created", "shipment.address.updated", "pickup.completed"],
"active": true,
"created_at": "2024-01-15T10:00:00Z",
"description": "Production webhook endpoint",
"secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
}
The webhook secret is only returned during creation. Store it securely as it won’t be retrievable later.
Response Fields
Unique identifier for the webhook endpoint
HTTPS URL where webhook events are sent
Event types this endpoint is subscribed to
Whether the endpoint is active (always true on creation)
When the endpoint was created (ISO 8601 format)
Description of the webhook endpoint
Webhook signing secret (only shown during creation)