An API for sending parcel numbers to ETrackings app users linked by phone number. The system stores the parcel as ON_KEEP for 48 hours, checking continuously. When found, the user is notified. If not found after 48 hours, the record is deleted automatically.
/app/send-track
/app/send-trackHeaders
Replace YOUR_API_KEY and YOUR_KEY_SECRET with your own credentials.
Etrackings-Api-Key: YOUR_API_KEY
Etrackings-Key-Secret: YOUR_KEY_SECRET
Accept-Language: YOUR_LANGUAGE (TH | EN)
Content-Type: application/json
Parameters
REQUIRED PARAMETERS
| Parameter | Type | Description |
|---|---|---|
trackingNo |
String |
The parcel tracking number. |
courierKey |
String |
Shipping company key. Supported values: thailand-post kex-express shopee-express flash-express jt-express best-express speed-d nim-express inter-express tnt-express shippop tp-logistics ups global-cainiao japan-post sky-box business-idea-transport por-lor-express dpx-logistics ecms-express quantium-solutions korea-post dhl-ecommerce makesend-delivery ems-international sabina rtt-express janio-asia teleport ontrac apple-store dhl-express lex fed-ex |
phoneNumber |
String |
User phone number, e.g. 0987654321 or +66987654321 (Thailand only) |
note |
String |
Parcel note or product name (optional) |
Body
Example with trackingNo, courierKey, phoneNumber, and note SHP5054369172, kex-express, 0987654321
{
"meta": {
"code": 201,
"message": "Send to user by phone number +66 93 194 2607."
}
}
Curl
Example with trackingNo, courierKey, phoneNumber, and note SHP5054369172, kex-express, 0987654321
curl --location --request POST 'https://api.etrackings.com/api/v3/app/send-track' --header 'Etrackings-api-key: <YOUR_API_KEY>' --header 'Etrackings-key-secret: <YOUR_KEY_SECRET>' --header 'Content-Type: application/json' --data-raw '{
"trackingNo": "SHP5054369172",
"courierKey": "kex-express",
"phoneNumber": "0987654321",
"note": "Test sending parcel notifications via phone number"
}'