Pitney Locker APIs
/Locker Webhook APIs
//
Get All Webhooks
- Sandbox Server for Webhook API'shttps://api-sandbox.sendpro360.pitneybowes.com/webhook/api/v1/webhookConfig
- Production Server for Webhook API's (uses live data)https://api.sendpro360.pitneybowes.com/webhook/api/v1/webhookConfig
curl -i -X GET \
https://api-sandbox.sendpro360.pitneybowes.com/webhook/api/v1/webhookConfig \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'all Webhooks get successful
It indicates the type of webhook. Currently it takes tracking and lockeras value. These event codes are supported for the defined type:
| type | supported events |
|---|---|
| locker | reservation, cancelreservation, deposit, pickup, stalemailpickup |
| tracking | Manifest, Acceptance, InTransit, DeliveryAttempt, OutForDelivery, Delivered, Exception, ReturnToSender, ReadyForPickup, PickupMissed, PickedUp |
Enum:"locker""tracking"
Response
{ "data": [ { "webHookConfigID": "DELn75Jx7r3p", "name": "dev_webhook1", "type": "locker", "events": [ … ], "url": "https://webhook.com", "authParams": { … }, "timeOut": 5, "status": "active", "developerPartnerId": "xxxxx" }, { "webHookConfigID": "K3M01oqmEbe2", "name": "dev_webhook1", "type": "locker", "events": [ … ], "url": "https://webhook.com", "authParams": { … }, "timeOut": 5, "status": "active", "developerPartnerId": "xxxxx" } ], "pageInfo": { "total": 2, "pages": 1, "page": 1 } }