Skip to main content
UniUni can send webhook notifications to your server when shipment statuses change. Configure a webhook endpoint to receive shipment.status_updated events in real time.

Setup

To configure your webhook, provide the following to the UniUni team:
FieldDescription
endpointHTTPS URL where you will receive webhook events
authentication methodHMAC, Bearer, or None
hmacSecretRequired only when using HMAC
tokenRequired only when using Bearer Token

Authentication methods

Payload format

FieldTypeDescription
eventstringEvent type (shipment.status_updated)
data.trackingIdstringShipment tracking ID
data.statusstringNew shipment status
data.statusCodenumberInternal status code
data.updatedAtstringISO 8601 timestamp
data.addressobjectAddress and location data
data.proofOfDeliveryobjectReturned only when status is DELIVERED

Address

FieldTypeDescription
address1stringAddress line 1
address2stringAddress line 2
citystringCity
provincestringProvince / State
postalCodestringPostal code
countrystringCountry code
latitudenumberLatitude
longitudenumberLongitude

Proof of delivery

Included when the shipment status is DELIVERED.
FieldTypeDescription
recipientstringName of person who received the parcel
deliveryDatestringYYYY-MM-DD
deliveryTimestringHH:mm:ss
podsstring[]Proof of delivery image URLs

Example payload

{
  "event": "shipment.status_updated",
  "data": {
    "address": {
      "address1": "123 Main St",
      "address2": "Suite 100",
      "city": "Vancouver",
      "province": "BC",
      "postalCode": "V6B 1A1",
      "country": "CA"
    },
    "status": "DELIVERED",
    "statusCode": 203,
    "trackingId": "UR11170000000023641",
    "updatedAt": "2025-11-28T00:05:25.917Z",
    "proofOfDelivery": {
      "recipient": "John Doe",
      "deliveryDate": "2025-11-28",
      "deliveryTime": "00:05:25",
      "pods": [
        "https://delivery-service-api.uniuni.ca/images/abcd001",
        "https://delivery-service-api.uniuni.ca/images/abcd002"
      ]
    }
  }
}

Testing

Use the sandbox test endpoint to verify your webhook integration:
POST https://api-sandbox.ship.uniuni.com/webhook/test
This lets you validate that:
  • Your server receives webhook requests
  • Authentication is working correctly
  • Your system can parse the payload