1. Overview

The All Status Webhook delivers real-time shipment tracking updates to an enterprise's registered endpoint URL. Clickpost fetches status updates from carriers via webhooks [status push from carrier to Clickpost systems] and via periodic polling of data [if webhooks are not available]. On every new scan, we send a POST request to the configured URL with the full shipment status payload. An enterprise can configure a URL at any time from the dashboard to receive all updates.

Note

The webhook is triggered for every scan update, not only when the status changes. If a carrier reports multiple scans with the same status, you will receive multiple webhook calls.

2. Sample Payload

The following is a representative JSON payload delivered to your endpoint on each webhook trigger:

2.1 Root-Level Fields

These fields appear at the top level of every webhook payload.

FieldTypeNullableDescription
waybillstringNoAirway bill / tracking number assigned by the carrier.
cp_idintNoClickpost carrier partner ID.
account_codestringNoCarrier account code name.
timestampstringNoScan date-time in yyyy-MM-ddTHH:mm:ssZ format. This is in the same timezone as received from the courier.
statusstringNoRaw status string from the carrier partner.
clickpost_status_codeintNoNormalized Clickpost status code. Use this for scan history logic.
clickpost_status_descriptionstringNoHuman-readable description of the clickpost status code.
locationstringYesLocation as shared by the courier partner.
latitudedoubleYesGeo-latitude of the scan location.
longitudedoubleYesGeo-longitude of the scan location.
remarkstringNoAs shared by the courier partner.
rider_namestringYesDelivery rider name, populated for last-mile deliveries.
rider_contactstringYesDelivery rider contact number.
clickpost_citystringYesClickpost-normalized city name.
channel_namestringYesSales channel (e.g., website, app).
qc_image_urlarray<string>YesURLs of quality-check images captured at the time of the scan. Only relevant in reverse pickups.
rto_awbstringYesReturn-to-origin AWB, populated when a shipment moved to RTO Journey and if the carrier shares the RTO AWB in the tracking updates.
otp_cancellation_verification_flagbooleanYesTrue if OTP verification was completed for cancellation.
scan_idlongYesClickpost internal unique scan ID. Recommended de-duplication key.
original_reference_numberstringYesShared by you in the order creation or AWB registration process with Clickpost systems.
additionalobjectNoExtended shipment details. See Section 2.2.

2.2 Additional Object

The additional object carries enriched metadata about the shipment and the current scan context.

FieldTypeNullableDescription
account_codestringNoSame as root account_code.
is_rvpbooleanNoTrue if the shipment is a Reverse Vendor Pickup.
order_idstringYesThe enterprise's own order ID.
otp_verified_deliverybooleanYesTrue if delivery was completed with OTP verification.
otp_verified_cancellationbooleanYesTrue if cancellation was confirmed via OTP.
ndr_status_codeintYesUnified NDR (Non-Delivery Report) code. Populated on failed delivery. See Section 6.
ndr_status_descriptionstringYesHuman-readable description for ndr_status_code.
npr_status_codeintYesNPR (Non-Pickup Report) code. Populated on failed pickup.
npr_status_descriptionstringYesHuman-readable description for npr_status_code.
courier_partner_eddstringYesEstimated Delivery Date from the carrier (YYYY-MM-DD).
courierPartnerPDDstringYesPromised Delivery Date from the carrier.
destination_hub_inscan_tsstringYesTimestamp when the shipment was scanned at the destination hub.
namestringYesConsumer name from the messaging system (Clickpost systems have stopped populating values in this field to keep the data secured).
emailstringYesConsumer email from the messaging system (Clickpost systems have stopped populating values in this field to keep the data secured).
phonestringYesConsumer phone number from the messaging system (Clickpost systems have stopped populating values in this field to keep the data secured).
latest_statusobjectNoCurrent consolidated shipment status. See Section 2.3.
callDetailsarray<object>YesLog of customer-contact call attempts. See Section 2.4.
pickupETAobjectYesEstimated pickup time window. See Section 2.5.
deliveryETAobjectYesEstimated delivery time window. See Section 2.5.
feDetailsobjectYesField executive (rider) details. See Section 2.6.
receiverDetailsobjectYesDelivery receiver details. See Section 2.7.
partial_delivery_itemsobjectYesSKU-level breakdown for partial deliveries. See Section 2.8.
deliveryGeoDetailsobjectYesGeo-coordinates captured at the time of delivery.
latest_rider_location_detailsobjectYesRider’s latest known GPS coordinates at the time of entering the drop location geofence (configured radius or default 200 metres). Refer Section 2.9.

More information about Additional details here.

2.3 additional.latest_status Object

This sub-object reflects the current overall status of the shipment the most recent meaningful state after Clickpost's de-duplication and normalization. Use this field (not the root clickpost_status_code) when driving customer-facing notifications.

FieldTypeNullableDescription
clickpost_status_codeintNoNormalized code for the latest state. Use for customer notifications.
clickpost_status_descriptionstringNoHuman-readable description of the latest status code.
clickpost_status_bucketintNoBucket number grouping related statuses.
clickpost_status_bucket_descriptionstringNoHuman-readable label for the status bucket.
statusstringNoRaw carrier status string for the latest scan.
timestampstringNoScan date-time in yyyy-MM-ddTHH:mm:ssZ format. This is in the same timezone as received from the courier.
locationstringYesLocation of the latest scan.
clickpost_citystringNoClickpost-normalized city for the latest scan.
latitudedoubleYesLatitude for the latest scan location.
longitudedoubleYesLongitude for the latest scan location.
remarkstringNoRemark for the latest scan.
reference_numberstringYesReference number for the latest scan.
rider_namestringYesRider name at the latest scan.
rider_contactstringYesRider contact at the latest scan.

2.4 additional.callDetails Array

Each element represents one customer-contact call attempt.

FieldTypeNullableDescription
shipmentIdintNoInternal Clickpost shipment ID.
logIdstring (UUID)NoUnique log entry identifier.
sourceintNoSource system that initiated the call.
callDurationintNoDuration of the call in seconds.
callTimestampstring (datetime)NoWhen the call was made.
callStatusstringNoOutcome: ANSWERED, NOT_ANSWERED, etc.
callRemarkstringYesOptional remark about the call.
createdAtstring (datetime)NoRecord creation timestamp.

2.5 additional.pickupETA / deliveryETA Object

Both ETA objects share the same structure.

FieldTypeNullableDescription
shipmentIdintNoInternal shipment ID.
logIdstring (UUID)NoUnique log entry ID.
sourceintNoSource that provided the ETA.
etaTimestampstring (datetime)NoEstimated arrival date-time.
etaTimezonestringNoTimezone for etaTimestamp (e.g., Asia/Kolkata).
capturedAtstring (datetime)NoWhen this ETA was recorded.
capturedTimezonestringNoTimezone for capturedAt.
createdAtstring (datetime)NoRecord creation timestamp.

2.6 additional.feDetails Object

Field executive (delivery agent) details, populated during last-mile delivery assignment.

FieldTypeNullableDescription
shipmentIdintNoInternal shipment ID.
logIdstring (UUID)NoUnique log entry ID.
feNamestringYesName of the field executive.
fePhoneNumberlongYesPhone number of the FE.
fePhoneCodeintYesCountry phone code (e.g., 91 for India).
feIDstringYesCarrier-assigned FE identifier.
feAllocationTimestring (datetime)NoWhen FE was assigned to this shipment.
feBridgePhoneNumberlongYesVirtual/bridge phone number for the FE.
feBridgePhonePinstringYesPIN for the bridge number.
createdAtstring (datetime)NoRecord creation timestamp.

2.7 additional.receiverDetails Object

Details of who accepted the shipment at the time of deliver

FieldTypeNullableDescription
shipmentIdintNoInternal shipment ID.
receiverNamestringNoName of the person who received the shipment.
receiverRelationstringYesRelation to consignee (e.g., Self, Spouse).
receiverIDTypestringYesGovernment ID type provided at delivery.
receiverIDNumberstringYesGovernment ID number (masked).
receiverLocationTypestringYesDelivery location type (e.g., Door, Mailbox).
capturedAtstring (datetime)NoWhen receiver details were captured.
createdAtstring (datetime)NoRecord creation timestamp.

2.8 additional.partial_delivery_items Object

Populated for partial delivery events (status code 48).

FieldTypeNullableDescription
deliveredarray<object>YesItems delivered. Each: { sku: string, qty: int }.
non_deliveredarray<object>YesItems not delivered. Each: { sku: string, qty: int }.

2.9 additional.latest_rider_location_details Object

Rider’s latest known GPS coordinates when the rider enters the configured radial geofence around the drop location (default: 200 metres). Populated for rider within drop location geofence event. (status code 139).


FieldTypeNullableDescription
latitudedoubleNoRider latitude in decimal degrees.
longitudedoubleNoRider longitude in decimal degrees
location_capture_timestringNoTimestamp when the rider's location was captured. Format: yyyy-MM-dd HH:mm:ss (UTC). Example: "2026-08-10 14:23:10"

3.Authentication

Clickpost sends the webhook request with authentication credentials embedded in the HTTP request, using whichever method you configure in the dashboard.

TypeHow it worksHeader / Parameter
Simple TokenA static bearer token sent in the Authorization header.Authorization: Token <token>
X-API-KeyA static API key sent in the x-api-key header.x-api-key: <key>
Webhook-KeyA static key sent in the webhook-key header.webhook-key: <key>
Basic AuthStandard HTTP Basic authentication using Base64-encoded credentials.Authorization: Basic <base64(user:pass)>
Dynamic TokenAn access token fetched from your auth endpoint before each delivery. Tokens are cached until expiry.Authorization: Bearer <dynamic_token>

Note

Dynamic Token auth is available for enterprise accounts requiring short-lived tokens (OAuth 2.0-style flows). Contact your CSM or Support to enable this option.


4. Important Behavioral Notes

4.1 No Ordering Guarantee

Webhooks are triggered as scans are received. Due to carrier reporting delays, scans may arrive out of chronological order. Always compare timestamp values before updating your system state.

4.2 Success / Failure Responses and Retry Policy

TypeCondition
SuccessHTTP 200, 201, 202, or 204
FailureAny other HTTP response code, or API timeout (5-second limit)

If your endpoint does not return HTTP 200, 201, or 202, or if the request times out, Clickpost schedules up to 6 retries over 3 hours with linear backoff:

AttemptDelay After Initial Failure
1st retry30 minutes
2nd retry60 minutes
3rd retry90 minutes
4th retry120 minutes
5th retry150 minutes
6th retry180 minutes

Retries deliver the same payload again. However, the latest_status component may reflect updated shipment state between the original send and the retry. Your endpoint must handle duplicate deliveries gracefully without creating duplicate records.

4.3 JSON Schema Validation

Do not apply strict JSON schema validation. The payload structure may be extended over time with new fields added without prior notice. Use permissive parsing and ignore unknown fields.

Note

It is recommended to use clickpost_status_code (at both the root level and inside latest_status) when applying business logic. Other textual fields are subject to change.

API Reference



4.4 Retrigger Policy

Enterprises can manually retrigger webhooks from the dashboard. All Status and Selected Status are independent — retriggering one does not affect the other. Each retrigger sends the shipment’s latest status to the chosen webhook URL(s).

4.5 De-duplication / Ordering Guidelines

Recommended de-duplication key: waybill + scan_id. The scan_id is Clickpost's internal unique identifier for a scan. It is globally unique and monotonically increasing.

For any given shipment, timestamp + clickpost_status_code can also be used as a unique identifier. No two scans for the same AWB within the same courier can share both the same clickpost_status_code and the same timestamp.


Did this page help you?