Complete reference for ETrackings REST API — track parcels, list couriers, send notifications and receive webhooks. All endpoints require HTTPS.
Pick an endpoint to see where the request goes and what comes back
curl -X GET \
https://api.etrackings.com/api/v3/couriers \
-H 'Etrackings-api-key: YOUR_API_KEY' \
-H 'Etrackings-key-secret: YOUR_KEY_SECRET'
curl -X POST \
https://api.etrackings.com/api/v3/tracks/find \
-H 'Content-Type: application/json' \
-H 'Etrackings-api-key: YOUR_API_KEY' \
-H 'Etrackings-key-secret: YOUR_KEY_SECRET' \
-d '{"courier":"flash-express","trackingNo":"TH01234567890A"}'
curl -X POST \
https://api.etrackings.com/api/v3/app/send-track \
-H 'Content-Type: application/json' \
-H 'Etrackings-api-key: YOUR_API_KEY' \
-H 'Etrackings-key-secret: YOUR_KEY_SECRET' \
-d '{"trackingNo":"TH01234567890A","courierKey":"flash-express","phoneNumber":"0812345678"}'
# ETrackings calls your callback_url when a parcel's status changes
POST https://your-site.com/webhook
Content-Type: application/json
{
"meta": { "code": 200, "message": "OK" },
"data": [
{ "courierKey": "flash-express", "name": "Flash Express" },
{ "courierKey": "shopee-express", "name": "Shopee Express" },
{ "courierKey": "jt-express", "name": "J&T Express" },
…
]
}
{
"meta": { "code": 200, "message": "OK" },
"data": {
"trackingNo": "TH01234567890A",
"courierKey": "flash-express",
"status": "ON_DELIVERED",
"currentStatus": "13:59 Your parcel has been delivered",
"timelines": [ … ]
}
}
{
"meta": {
"code": 201,
"message": "Send to user by phone number +66 81 234 5678."
}
}
// body
{
"trackingNo": "SPXTH02456789123",
"courierKey": "shopee-express",
"status": "ON_DELIVERED",
"currentStatus": "13:59 Your parcel has been delivered",
"timelines": [ … ]
}
Every request must include both of these HTTP headers:
Etrackings-Api-Key: YOUR_API_KEY Etrackings-Key-Secret: YOUR_KEY_SECRET Accept-Language: th Content-Type: application/json
All responses are JSON. A meta object contains the HTTP status code and a data object contains the payload.
{ "meta": { "code": 200, "message": "OK" }, "data": {...} }
{ "meta": { "code": 401, "message": "Invalid API key." } }
We use cookies to improve performance. and good experience in using your website You can study the details at Privacy Policy and Terms and Conditions
You can choose cookie settings by on/off. Cookies of each type are available on request, except for essential cookies.