Platform
Chatbot Builder Bulk Messaging Team Inbox Mini CRM API & Webhooks AI Integration WhatsApp Flows
Industries
E-commerce & D2C Real Estate Education Healthcare Finance & BFSI Logistics Hospitality Retail
Integrations
Learn
Learning Hub Help & Docs Connect Guides Automation Codex Blog Message Templates
Pricing Start Free Trial →
HomeConnect › Connect Shiprocket to WhatsApp
Shiprocket Integration Guide · Logistics / India

Connect Shiprocket to WhatsApp

Send automatic WhatsApp notifications at every shipment milestone: dispatched, out for delivery, delivered, and NDR. India's 100,000+ D2C brands use Shiprocket and this integration cuts WISMO support calls by over 50% from day one.

Published 23 June 2026  ·  6 min read  ·  Logistics / India
Already on Shiprocket and looking for the marketing overview? See the Shiprocket WhatsApp integration page. This guide covers the technical webhook setup.
Shiprocket sends bare 10-digit numbers: always prepend +91

Shiprocket's webhook payload sends customer_phone as a bare 10-digit number, e.g. 9876543210, without the country code. WA.Expert requires +919876543210. In your automation, prepend +91 to the phone value before mapping it to the WhatsApp destination. This is the most common reason for WhatsApp messages not sending after the webhook fires.

Webhooks require Shiprocket X (Growth) plan or above

The Lite plan does not include webhook access. You need the Growth plan or higher to configure webhooks in Shiprocket. Check Shiprocket's current pricing as plans are updated periodically.

Step 1: Get your WA.Expert webhook URL

In WA.Expert, create a new automation and set the trigger to Inbound Webhook. Copy the unique webhook URL. This is the URL Shiprocket will POST shipment events to.

Step 2: Add the webhook in Shiprocket

1
In Shiprocket, go to Settings → API → Webhook.
2
Click Add Webhook and paste your WA.Expert webhook URL.
3
Select the events you want to receive. For WhatsApp notifications, add these five: Dispatched, Out for Delivery, Delivered, NDR, EDD Change.
4
Save the webhook. Shiprocket will now POST to WA.Expert for every tracking event matching the selected types.
Official docs

Shiprocket API: apidocs.shiprocket.in

Step 3: Understand the webhook payload

Shiprocket webhook payload — out for delivery example
{{
  "event":              "out_for_delivery",
  "awb":                "161234567890",
  "order_id":           "SR-10492",
  "customer_name":      "Priya Sharma",
  "customer_phone":     "9876543210",
  "courier_name":       "Delhivery",
  "tracking_url":       "https://track.shiprocket.in/...",
  "estimated_delivery": "2026-06-24"
}}

Map these to WA.Expert variables:
  customer_name      -> name
  '+91' + customer_phone -> wa_phone   <- PREPEND +91
  awb                -> tracking_number
  courier_name       -> courier
  tracking_url       -> tracking_link
  estimated_delivery -> edd
  event              -> shipment_status (use to branch message)
customer_phone valueWhat WA.Expert needsFix
9876543210+919876543210Prepend +91 in the automation field mapping or using a formatter step.

This one-step fix is the most important part of the Shiprocket integration.

Which events should trigger a WhatsApp?

Shiprocket normalises tracking events from 17+ courier partners into a consistent format. Send WhatsApp for these five events only; everything else creates noise and increases opt-outs.

Shiprocket eventWhen it firesWhatsApp message to send
shipment_dispatchedAWB generated, shipment picked upTracking link, courier name, expected delivery date. Sets customer expectations.
out_for_deliveryCourier en route to deliver todayOFD alert: 'Your order is out for delivery today. Someone will need to be home.'
deliveredCourier marks as deliveredDelivery confirmation + soft review request: 'How was your order experience?'
ndrFailed delivery attemptPrompt to reschedule: 'We tried to deliver but couldn\'t reach you. Tap to reschedule.'
edd_changeEstimated delivery date revisedProactive delay alert with new EDD: 'Your delivery has been rescheduled to [date].'

Sending WhatsApp for minor scan events (in transit, warehouse, etc.) creates notification fatigue. Stick to these five.

Worked example: out-for-delivery WhatsApp

Full flow — Shiprocket OFD event to WhatsApp
1. Courier partner marks shipment out for delivery.

2. Shiprocket fires webhook to WA.Expert:
   event: 'out_for_delivery'
   customer_name: 'Priya Sharma'
   customer_phone: '9876543210'
   courier_name: 'Delhivery'
   tracking_url: 'https://track.shiprocket.in/SR-10492'

3. WA.Expert automation:
   wa_phone = '+91' + '9876543210' = '+919876543210'
   Branch on event = 'out_for_delivery'

4. WA.Expert sends Priya:
   'Hi Priya! Your order SR-10492 is out for delivery today
    via Delhivery. Someone will need to be home to receive it.
    Track your order: https://track.shiprocket.in/SR-10492'

Optional: Query Shiprocket tracking from WhatsApp

If a customer messages a tracking keyword on WhatsApp, your automation can query Shiprocket's API to return live shipment status.

Shiprocket auth + tracking API (via External API Request step)
Step 1: Get Bearer token (valid 10 days, refresh when expired)
POST https://apiv2.shiprocket.in/v1/external/auth/login
Content-Type: application/json
Body: {{email: YOUR_SHIPROCKET_EMAIL, password: YOUR_PASSWORD}}
Response: {{data: {{token: 'eyJ0eX...'}} }}

Step 2: Track by AWB
GET https://apiv2.shiprocket.in/v1/external/courier/track/awb/{{awb_code}}
Authorization: Bearer eyJ0eX...

Response includes current status, courier, and last checkpoint.

Troubleshooting

SymptomLikely causeFix
No webhook firingLite plan active, webhooks not availableUpgrade to Shiprocket X (Growth) plan or above. Lite plan excludes webhooks.
WhatsApp not sent after webhook firesPhone number missing country codePrepend +91 to customer_phone before mapping to the WA.Expert destination. Shiprocket sends bare 10-digit numbers.
Wrong message sent for eventNot branching on event fieldAdd a condition step branching on the event value: out_for_delivery, delivered, ndr, edd_change, shipment_dispatched.
Webhook fires but WA.Expert not receivingWrong URL or automation not publishedConfirm the webhook URL in Shiprocket matches your WA.Expert automation URL. Ensure the WA.Expert automation is published (not draft).
Token expired for Shiprocket API240-hour token lifetimeShiprocket tokens expire every 10 days. Re-authenticate with the login endpoint to get a fresh token before making tracking API calls.
Duplicate WhatsApp messagesWebhook fired multiple times for same eventShiprocket may fire duplicate webhooks for the same event. Check the order_id or awb in each call and discard duplicates.

Common questions

Which Shiprocket plan includes webhooks?
+
Shiprocket X (Growth) plan and above. Lite plan does not include webhook access.
Why is the WhatsApp not sending after the webhook fires?
+
Shiprocket sends customer_phone as a bare 10-digit number without +91. Prepend +91 in your automation before mapping to the WhatsApp destination.
Which 5 events should trigger a WhatsApp?
+
shipment_dispatched, out_for_delivery, delivered, ndr, edd_change. Sending for all events creates notification fatigue.
Are events normalised across courier partners?
+
Yes. Shiprocket normalises events from 17+ couriers (Delhivery, BlueDart, Ecom Express, DTDC, etc.) into a consistent webhook format.
Can I query tracking status from WhatsApp?
+
Yes. Use External API Request to call POST /auth/login for a Bearer token, then GET /courier/track/awb/{awb_code}. Token valid 240 hours.
Does this incur extra WA.Expert charges?
+
Yes. Each WhatsApp uses a message credit: Rs. 0.14 (utility) on Starter. 1,000 orders x 5 messages = Rs. 700/month at Starter rates.

Connect Delhivery to WhatsApp

Delhivery direct API: tracking updates for courier-direct integrations.

Read guide →

Connect WooCommerce to WhatsApp

Order confirmation and shipping alerts from WooCommerce stores.

Read guide →

External API Request Step

Master every field in WA.Expert's HTTP action step.

Read foundation guide →

Connect Shiprocket to WhatsApp today

Free trial, no credit card. If you get stuck, we answer live on WhatsApp.

Start Free Trial → Book a Demo
1