Trackings
https://api.trackified.net /v1/trackings List trackings
Parameters
limitintegerqueryoffsetintegerquerystatusstringquerycarrierstringquerycustom_idstringquerytracking_numberstringqueryCode samples
cURL
curl -X GET "https://api.trackified.net/v1/trackings" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{
"data": [
{
"id": "string",
"tracking_number": "string",
"carrier": "string",
"carrier_detected": true,
"status": "not_yet_scanned",
"events": [
{
"occurred_at": "string",
"time_zone_known": true,
"status": "info_received",
"description": "string",
"location": "string",
"date": "string"
}
],
"estimated_delivery": "2024-01-01T00:00:00Z",
"delivered_at": "string",
"delivered_at_time_zone_known": true,
"delivery_detected_at": "2024-01-01T00:00:00Z",
"exception": "string",
"service_level": "string",
"custom_id": "string",
"customer_email": "string",
"last_scraped_at": "2024-01-01T00:00:00Z",
"next_scrape_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}Schema
dataTracking[]requiredShow child parameters
idstringtracking_numberstringcarrierstringcarrier_detectedbooleanstatusstringeventsTrackingEvent[]Show child parameters
occurred_atstringrequiredtime_zone_knownbooleanrequiredstatusstringrequireddescriptionstringrequiredlocationstringrequireddatestringrequireddeprecatedestimated_deliverystringdelivered_atstringdelivered_at_time_zone_knownbooleandelivery_detected_atstringexceptionstringservice_levelstringcustom_idstringcustomer_emailstringlast_scraped_atstringnext_scrape_atstringcreated_atstringupdated_atstringpaginationobjectrequiredShow child parameters
limitintegeroffsetintegertotalintegerExample
{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}Schema
errorobjectShow child parameters
codestringmessagestringrequest_idstringhttps://api.trackified.net /v1/trackings Add a tracking
Send an Idempotency-Key header to make retries safe: for 24 hours, the same key with the same body returns the tracking it created (with Idempotent-Replayed: true) instead of adding another. The same key with a different body is 422 idempotency_key_reused; a retry while the first request is still running is 409 idempotency_in_progress. Without a key, look a tracking up with GET /v1/trackings?custom_id=… before retrying.
Parameters
Idempotency-KeystringheaderRequest body
application/json
tracking_numberstringrequiredcarrierstringcustom_idstringcustomer_emailstring{
"tracking_number": "string",
"carrier": "string",
"custom_id": "string",
"customer_email": "string"
}Code samples
cURL
curl -X POST "https://api.trackified.net/v1/trackings" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"tracking_number":"string","carrier":"string","custom_id":"string","customer_email":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{
"id": "string",
"tracking_number": "string",
"carrier": "string",
"carrier_detected": true,
"status": "not_yet_scanned",
"events": [
{
"occurred_at": "string",
"time_zone_known": true,
"status": "info_received",
"description": "string",
"location": "string",
"date": "string"
}
],
"estimated_delivery": "2024-01-01T00:00:00Z",
"delivered_at": "string",
"delivered_at_time_zone_known": true,
"delivery_detected_at": "2024-01-01T00:00:00Z",
"exception": "string",
"service_level": "string",
"custom_id": "string",
"customer_email": "string",
"last_scraped_at": "2024-01-01T00:00:00Z",
"next_scrape_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}Schema
idstringtracking_numberstringcarrierstringcarrier_detectedbooleanstatusstringeventsTrackingEvent[]Show child parameters
occurred_atstringrequiredtime_zone_knownbooleanrequiredstatusstringrequireddescriptionstringrequiredlocationstringrequireddatestringrequireddeprecatedestimated_deliverystringdelivered_atstringdelivered_at_time_zone_knownbooleandelivery_detected_atstringexceptionstringservice_levelstringcustom_idstringcustomer_emailstringlast_scraped_atstringnext_scrape_atstringcreated_atstringupdated_atstringIdempotent-Replayedstringtrue when this is the tracking an earlier request with the same key created.quota_exceeded: this month's tracking quota is used up. See GET /v1/account/usage.Same as 401 · GET /v1/trackings
idempotency_in_progress: a request with this Idempotency-Key is still running. Retry in a few seconds.Same as 401 · GET /v1/trackings
carrier_not_supported, carrier_not_detected or idempotency_key_reused.Same as 401 · GET /v1/trackings
https://api.trackified.net /v1/trackings/bulk Add a batch of trackings
The maximum batch size depends on your plan. Each row succeeds or fails on its own. Idempotency-Key works as on a single create: the same key with the same rows returns the first request's 207 body (with Idempotent-Replayed: true); different rows are 422 idempotency_key_reused; a retry while the first is still running is 409 idempotency_in_progress.
Parameters
Idempotency-KeystringheaderRequest body
application/json
trackingsTrackingInput[]requiredShow child parameters
tracking_numberstringrequiredcarrierstringcustom_idstringcustomer_emailstring{
"trackings": [
{
"tracking_number": "string",
"carrier": "string",
"custom_id": "string",
"customer_email": "string"
}
]
}Code samples
cURL
curl -X POST "https://api.trackified.net/v1/trackings/bulk" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"trackings":[{"tracking_number":"string","carrier":"string","custom_id":"string","customer_email":"string"}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Example
{
"data": [
{
"ok": true,
"tracking": {
"id": "string",
"tracking_number": "string",
"carrier": "string",
"carrier_detected": true,
"status": "not_yet_scanned",
"events": [
{
"occurred_at": "string",
"time_zone_known": true,
"status": "info_received",
"description": "string",
"location": "string",
"date": "string"
}
],
"estimated_delivery": "2024-01-01T00:00:00Z",
"delivered_at": "string",
"delivered_at_time_zone_known": true,
"delivery_detected_at": "2024-01-01T00:00:00Z",
"exception": "string",
"service_level": "string",
"custom_id": "string",
"customer_email": "string",
"last_scraped_at": "2024-01-01T00:00:00Z",
"next_scrape_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
},
"error": "string"
}
]
}Schema
dataobject[]Show child parameters
okbooleantrackingobjectShow child parameters
idstringtracking_numberstringcarrierstringcarrier_detectedbooleanstatusstringeventsTrackingEvent[]estimated_deliverystringdelivered_atstringdelivered_at_time_zone_knownbooleandelivery_detected_atstringexceptionstringservice_levelstringcustom_idstringcustomer_emailstringlast_scraped_atstringnext_scrape_atstringcreated_atstringupdated_atstringerrorstringIdempotent-Replayedstringtrue when this is the body an earlier request with the same key got.quota_exceeded: the batch would pass this month's tracking quota.Same as 401 · GET /v1/trackings
https://api.trackified.net /v1/trackings/{id} Get a tracking with its events
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://api.trackified.net/v1/trackings/{id}" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
https://api.trackified.net /v1/trackings/{id} Update a tracking
Parameters
idstringpathrequiredRequest body
application/json
carrierstringcustom_idstringcustomer_emailstring{
"carrier": "string",
"custom_id": "string",
"customer_email": "string"
}Code samples
cURL
curl -X PUT "https://api.trackified.net/v1/trackings/{id}" \
-H "Authorization: Bearer $TRACKIFIED_API_KEY" \
-H "Content-Type: application/json" \
-d '{"carrier":"string","custom_id":"string","customer_email":"string"}'TypeScript
Python
Go
PHP
Ruby
Java