API Reference
//
Test a Webhook Subscripti...
Sends a test event matching one of the subscribed event types to the subscription URL and returns the HTTP response status. When the subscription has more than one event type, eventType must be provided.
Security
api_key
- Mock serverhttps://doc.acc.connect.easypost.eu/_mock/public-api/openapi/webhooks/{id}/test
- https://api.acc.connect.easypost.euhttps://api.acc.connect.easypost.eu/webhooks/{id}/test
curl -i -X POST \
'https://doc.acc.connect.easypost.eu/_mock/public-api/openapi/webhooks/{id}/test' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-managed-company-id: string' \
-d '{
"eventType": "job.status.changed"
}'Response
{ "statusCode": 200, "success": true }