1. Webhooks
  • Overview
  • Packages
    • Create a shipment
      POST
    • Generate an AWB PDF for one or more packages
      POST
    • Get a package's current status
      GET
    • Get a package's full status history
      GET
    • List the possible package statuses
      GET
    • Cancel a package
      PUT
    • Return a package to sender
      PUT
    • List the company's service types
      GET
    • Calculate a shipment's delivery cost
      POST
    • List the company's vehicle types
      GET
    • List the company's parcel types
      GET
  • Webhooks
    • Package Status Webhook
  • Addresses
    • List the company's address book
      GET
    • List regions
      GET
    • List a region's cities
      GET
    • List a city's villages
      GET
    • List villages
      GET
  • Schemas
    • NoteMessage
    • AddressDto
    • IntegrationPackageRequestDto
    • ParcelType
    • IntegrationAddressDto
    • CitiesTripsTimeSchedule
    • IntegrationShipmentDto
    • CreatingPackageDto
    • MainCitiesTripsTimeSchedule
    • PackageItemsToDeliver
    • PackageIdentifiersWrapper
    • Address
    • LocalizedKeyData
    • CodChangeRequest
    • PackageStatusResponse
    • Customer
    • CustomerPromo
    • GeofenceData
    • CustomersPaymentTypes
    • DeliveryPaymentType
    • Device
    • DriverFailFollowUp
    • LabelConditionDto
    • LabelDto
    • LclSupplier
    • LenDetails
    • Location
    • MandatoryPackageFieldsConfig
    • NamedObject
    • NoteMessageInfo
    • Package
    • PackageApprovalFail
    • PackageApprovalPostpone
    • PackageApprovalReturn
    • PackageContent
    • PackageContentItem
    • PackageDevice
    • PackageFailure
    • PackageItem
    • PackageLocationMessage
    • PackageTrackingNodeMessage
    • PackageTrackingStatusCount
    • PalShipRole
    • PartnerConfigDto
    • PartnerDto
    • PostponePackageMessageInfo
    • Product
    • ProductExpiryBatchLot
    • ProductVariant
    • ProductVariantOption
    • ServiceType
    • SmsGateway
    • SubPackage
    • User
    • UserAttachmentsDto
    • Vehicle
    • VehicleType
    • GetPackageCostMessage
    • JettShippingRate
    • JettShippingRateDetails
    • NameAndIdDto
    • Region
    • City
    • Village
    • ModelTableMessageVillage
    • MoneyInfoDto
  1. Webhooks

Package Status Webhook

Whenever a package assigned to your integration changes status (created, cancelled, returned, delivered, postponed, and more), Logestechs sends an HTTP POST notification to the Webhook URL configured for that integration.

Configuration#

The Webhook URL, Username, and Password are set once per integration in Partners > API Integrations (admin portal), not per request.

Request#

Method: POST
Content-Type: application/json

Authentication headers#

The configured Webhook Password is sent as the value of the Authorization, api_key, ApiKey, api-key, and x-api-key headers (duplicated for compatibility with different receivers). The configured Webhook Username is sent as the value of the username and account_name headers.

Payload fields#

packageId - internal package ID
barcode - package barcode
invoiceNumber - invoice
status - current tracking status of the package
newStatus - new tracking status, one of the values from List the possible package statuses
cod - cash-on-delivery amount
paymentMethod - payment method
time - when the status changed (ISO date)
notes - optional note attached to the change
reason - reason code, for cancellations or failures
driverName - assigned driver's name
driverPhone - assigned driver's phone
signatureUrl - delivery signature image URL, if available
postponedDeliveryDate - new delivery date, when status is postponed
attachmentUrls - proof-of-delivery attachment URLs, if any
pinCode - delivery PIN code, if applicable
Fields are omitted from the payload when empty.

Example payload#

{
  "packageId": 123456,
  "barcode": "PS000123456",
  "invoiceNumber": "INV-000123",
  "newStatus": "DELIVERED_TO_RECIPIENT",
  "status": "DELIVERED_TO_RECIPIENT",
  "cod": 45.5,
  "paymentMethod": "CASH",
  "time": "2026-08-23T10:15:00.000Z",
  "driverName": "Ahmad",
  "driverPhone": "+9665xxxxxxxx"
}

Notes#

The call is fire-and-forget - Logestechs does not retry failed deliveries. Respond with any 2xx status to acknowledge receipt.
Use Get a package's current status or Get a package's full status history under Packages to reconcile if a webhook is ever missed.
Modified at 2026-09-24 13:20:38
Previous
List the company's parcel types
Next
List the company's address book
Built with