We'll use the RestAPI protocol with a JSON object body to send an event.
If our endpoint is down, you can use the pull tracking API to continue tracking your shipments. This alternative method allows you to request and retrieve tracking information directly, ensuring you stay updated on your shipment status even if our primary endpoint is temporarily unavailable.
| Key | Value |
|---|---|
Content-Type | application/json |
Accept | application/json |
User-Agent | KiriminAja-Push-Services |
Authorization | Bearer {api_key} |
| Parameter | Type | Description |
|---|---|---|
method | String | We'll write the method name following the data being sent (plural or singular) |
data | Mixed | We will use the data according to the method. View each event to see its characteristics |
shipped_packagesIndicate that the package has been picked up, transported, and forwarded by the courier’s operations team.
{
"method": "shipped_packages",
"data": [
{
"order_id": "BDI-1754377171060",
"awb": "GK-11-3289048",
"date": "2025-08-05T06:59:31.000000Z",
"shipped_at": "2025-08-05T07:00:05.000000Z",
"finished_at": null,
"returned_at": null,
"rejected_at": null,
"reason": null
}
],
"payment": {
"payment_id": "PID-1754377171",
"amount": 30500,
"status_code": 0,
"qr_content": null,
"pay_time": null
},
"packages": [
{
"awb": "GK-11-3289048",
"order_id": "BDI-1754377171060",
"service": "gosend",
"service_type": "instant",
"status": 106,
"live_tracking_url": "some-tracking-url-instant",
"poly_line": "some-poly-line-instant",
"origin": {
"name": "Daniel",
"address": "Wirobrajan Kota Yogyakarta Daerah Istimewa Yogyakarta Indonesia",
"phone": "(sender phone number)",
"latitude": -7.8032616,
"longitude": 110.350244
},
"destination": {
"name": "Rizky Okka S",
"address": "Minomartani Kec. Ngaglik Kabupaten Sleman Daerah Istimewa Yogyakarta Indonesia",
"phone": "(receiver phone number)",
"latitude": -7.7349434,
"longitude": 110.405355
},
"driver": {
"name": null,
"phone": null,
"image": null
}
}
]
}
canceled_packagesYour shipment is canceled by system or flagged due user reason
{
"method": "canceled_packages",
"data": [
{
"order_id": "BDI-1754377476085",
"awb": "GK-11-3289052",
"date": "2025-08-05T07:04:36.000000Z",
"shipped_at": "2025-08-05T07:05:47.000000Z",
"finished_at": null,
"returned_at": null,
"rejected_at": null,
"reason": null
}
],
"payment": {
"payment_id": "PID-1754377477",
"amount": 30500,
"status_code": 0,
"qr_content": null,
"pay_time": null
},
"packages": [
{
"awb": "GK-11-3289052",
"order_id": "BDI-1754377476085",
"service": "gosend",
"service_type": "instant",
"status": 300,
"live_tracking_url": null,
"poly_line": "poly-line-instant",
"origin": {
"name": "Daniel",
"address": "Wirobrajan Kota Yogyakarta Daerah Istimewa Yogyakarta Indonesia",
"phone": "(sender phone number)",
"latitude": -7.8032616,
"longitude": 110.350244
},
"destination": {
"name": "Rizky Okka S",
"address": "Minomartani Kec. Ngaglik Kabupaten Sleman Daerah Istimewa Yogyakarta Indonesia",
"phone": "(receiver phone number)",
"latitude": -7.7349434,
"longitude": 110.405355
},
"driver": {
"name": null,
"phone": null,
"image": null
}
}
]
}
finished_packagesYour shipment is delivered or received by recipient
{
"method": "finished_packages",
"data": [
{
"order_id": "BDI-1754377171060",
"awb": "GK-11-3289048",
"date": "2025-08-05T06:59:31.000000Z",
"shipped_at": "2025-08-05T07:00:05.000000Z",
"finished_at": "2025-08-05T07:00:43.000000Z",
"returned_at": null,
"rejected_at": null,
"reason": null
}
],
"payment": {
"payment_id": "PID-1754377171",
"amount": 30500,
"status_code": 0,
"qr_content": null,
"pay_time": null
},
"packages": [
{
"awb": "GK-11-3289048",
"order_id": "BDI-1754377171060",
"service": "gosend",
"service_type": "instant",
"status": 200,
"live_tracking_url": "live-tracking-url-instant",
"poly_line": "Poly-line-instant",
"origin": {
"name": "Daniel",
"address": "Wirobrajan Kota Yogyakarta Daerah Istimewa Yogyakarta Indonesia",
"phone": "(sender phone number)",
"latitude": -7.8032616,
"longitude": 110.350244
},
"destination": {
"name": "Rizky Okka S",
"address": "Minomartani Kec. Ngaglik Kabupaten Sleman Daerah Istimewa Yogyakarta Indonesia",
"phone": "(receiver phone number)",
"latitude": -7.7349434,
"longitude": 110.405355
},
"driver": {
"name": null,
"phone": null,
"image": null
}
}
]
}