---
title: Get Shipment Milestones
slug: fourkites-api-reference/uhredfcgyyw6ygcz9ma4q
icon: {"apiMethod":"GET"}
createdAt: 2026-11-27T06:02:25.000Z
---

Use this API to get the milestone history of a shipment: the status changes and the arrivals and departures at stops that the All Milestones list of the FourKites loads page shows, from the oldest to the newest by `eventTime`. A milestone that names a stop carries the coordinates of that stop, so every event can be placed on a map.

The data you receive is the same data your own users see in FourKites, with the same company scoping and carrier data-sharing rules.

:::hint{type="warning"}
### Access

This API is available only to companies that FourKites has enabled for it. If you would like to use it, please reach out to your FourKites Customer Success Manager (CSM), who will enable it for your company. Until it is enabled, requests return a `403` error.
:::

:::hint{type="info"}
### Rate Limit

The rate limit is applied per API key and is shared across all Developer Portal APIs used with that key.

[Click here](https://docs.fourkites.com/api-reference/rate-limits) for more information on Rate Limit.
:::

:::hint{type="info"}
### Format Supported

**JSON**
:::

:::hint{type="info"}
### Authenticated Resource

**API Key**
:::

:::hint{type="success"}
All timestamps are in UTC, in RFC 3339 format and whole seconds, for example `2026-11-18T14:02:11Z`.
:::

For more information on Authentication, [click here](https://docs.fourkites.com/api-reference/authentication).

## Get Shipment Milestones

`GET /shipments/{fourKitesShipmentID}/milestones`

Only the `apikey` header and the `fourKitesShipmentID` are required. All query parameters are optional.

:::ApiMethodV2
```json
{
  "name": "Production",
  "method": "GET",
  "url": "https://api.fourkites.com/shipments/{fourKitesShipmentID}/milestones",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "xnHk7kCrTqIX2tMwOWPvK",
        "language": "curl",
        "code": "curl --location 'https://api.fourkites.com/shipments/94826232/milestones' \\\n--header 'apikey: REPLACE_KEY_VALUE'",
        "customLabel": ""
      },
      {
        "id": "sQQXaXF0a107C7HPcka0m",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nRequest request = new Request.Builder()\n  .url(\"https://api.fourkites.com/shipments/94826232/milestones\")\n  .method(\"GET\", null)\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "jsOjrUpxrEgE5fqHrCqnV",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api.fourkites.com/shipments/94826232/milestones\",\n  \"method\": \"GET\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "WeE4t-kSA8IZPUyZP_A3Q",
        "language": "swift",
        "code": "import Foundation\n#if canImport(FoundationNetworking)\nimport FoundationNetworking\n#endif\n\nvar semaphore = DispatchSemaphore (value: 0)\n\nvar request = URLRequest(url: URL(string: \"https://api.fourkites.com/shipments/94826232/milestones\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"GET\"\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    semaphore.signal()\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n  semaphore.signal()\n}\n\ntask.resume()\nsemaphore.wait()\n",
        "customLabel": ""
      },
      {
        "id": "gQF8e4afUJinyqUTRS7PE",
        "language": "csharp",
        "code": "var client = new RestClient(\"https://api.fourkites.com/shipments/94826232/milestones\");\nclient.Timeout = -1;\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"apikey\", \"REPLACE_KEY_VALUE\");\nIRestResponse response = client.Execute(request);\nConsole.WriteLine(response.Content);",
        "customLabel": ""
      },
      {
        "id": "4lJiKE3FZeU7AdcoaCKn5",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api.fourkites.com/shipments/94826232/milestones\"\n  method := \"GET\"\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, nil)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "JHV-hqL17Ezayl2O6H95n",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fourkites.com/shipments/94826232/milestones\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "qN5xC4lxcEQEmGW_ATGg7",
        "language": "python",
        "code": "import http.client\n\nconn = http.client.HTTPSConnection(\"api.fourkites.com\")\npayload = ''\nheaders = {\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"GET\", \"/shipments/94826232/milestones\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "xnHk7kCrTqIX2tMwOWPvK"
  },
  "results": {
    "languages": [
      {
        "id": "x7mXtcwQOSod8N3WQRDec",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"data\": {\n    \"fourKitesShipmentID\": \"94826232\",\n    \"from\": \"2026-11-18T13:55:00Z\",\n    \"to\": \"2026-11-21T09:52:00Z\",\n    \"milestones\": [\n      {\n        \"id\": \"778812345\",\n        \"severity\": \"success\",\n        \"status\": \"Arrived\",\n        \"fourKitesStopID\": \"312455677\",\n        \"stopReferenceId\": \"DC-0042\",\n        \"eventTime\": \"2026-11-19T08:15:00Z\",\n        \"recordedAt\": \"2026-11-19T08:15:41Z\",\n        \"latitude\": 39.7684,\n        \"longitude\": -86.1581,\n        \"stopName\": \"Indianapolis DC\",\n        \"source\": \"geofence\",\n        \"message\": \"Arrived at Indianapolis DC\"\n      }\n    ]\n  },\n  \"requestId\": \"brlfhvhghpuac6sl1jrh\"\n}"
      },
      {
        "id": "sOhoE19_AHRuhLSVdBOWY",
        "language": "400",
        "customLabel": "",
        "code": "{\n  \"errorCode\": 2002,\n  \"errorMessage\": \"updatedSince cannot be combined with since; use updatedSince alone for incremental sync, or since/until for a history window\",\n  \"errorDetails\": [\n    \"updatedSince\"\n  ],\n  \"occurredAt\": \"2026-11-24T09:33:37Z\",\n  \"requestId\": \"dc2ljs9r4elur1uf11cg\"\n}"
      }
    ],
    "selectedLanguageId": "x7mXtcwQOSod8N3WQRDec"
  },
  "request": {
    "pathParameters": [
      {
        "name": "fourKitesShipmentID",
        "kind": "required",
        "type": "string",
        "description": "FourKites generated identifier of the shipment. You can get it from the Get shipments list and Get shipment detail APIs. Ex: \"94826232\"",
        "children": []
      }
    ],
    "queryParameters": [
      {
        "name": "since",
        "kind": "optional",
        "type": "string",
        "description": "Start of the time window on eventTime, inclusive. RFC 3339 date-time in UTC. If you send since without until, the window ends at the time of your request. The window can be at most 31 days. URL-encode a + sign as %2B. Default: the start of the shipment. Ex: \"2026-11-01T00:00:00Z\"",
        "children": []
      },
      {
        "name": "until",
        "kind": "optional",
        "type": "string",
        "description": "End of the time window on eventTime, exclusive. RFC 3339 date-time in UTC. If you send neither since nor until, the whole history is returned. Ex: \"2026-11-08T00:00:00Z\"",
        "children": []
      },
      {
        "name": "updatedSince",
        "kind": "optional",
        "type": "string",
        "description": "Returns only the items FourKites recorded at or after this time (based on recordedAt), up to 2 minutes before your request. Use it to keep your own copy up to date. It cannot be combined with since or until. Ex: \"2026-11-20T10:00:00Z\"",
        "children": []
      },
      {
        "name": "pageSize",
        "kind": "optional",
        "type": "integer",
        "description": "Number of items per page, from 1 to 1000. Larger values are served as 1000. Default: 1000. Ex: 500",
        "children": []
      },
      {
        "name": "pageToken",
        "kind": "optional",
        "type": "string",
        "description": "Send this only when the previous response contained a nextPageToken. Pass that value exactly as received, together with the same since, until or updatedSince you used before. The token is opaque and valid for 24 hours.",
        "children": []
      }
    ],
    "headerParameters": [
      {
        "name": "apikey",
        "kind": "required",
        "type": "string",
        "description": "Your Developer Portal API key. The same key you use for the other FourKites APIs.",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "production",
  "legacyHash": "x7_ZaAsocQHWx3Ep85MDX"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Staging",
  "method": "GET",
  "url": "https://api-staging.fourkites.com/shipments/{fourKitesShipmentID}/milestones",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "3mrO1-Kzysz_uJTcFKYbd",
        "language": "curl",
        "code": "curl --location 'https://api-staging.fourkites.com/shipments/94826232/milestones' \\\n--header 'apikey: REPLACE_KEY_VALUE'",
        "customLabel": ""
      },
      {
        "id": "C6n5rLoKMfF4uPsqm_2Am",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nRequest request = new Request.Builder()\n  .url(\"https://api-staging.fourkites.com/shipments/94826232/milestones\")\n  .method(\"GET\", null)\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "OVJ1uZlMgOWhBOeeXj797",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api-staging.fourkites.com/shipments/94826232/milestones\",\n  \"method\": \"GET\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "9JI7N7vLZmHW6eMiKVefG",
        "language": "swift",
        "code": "import Foundation\n#if canImport(FoundationNetworking)\nimport FoundationNetworking\n#endif\n\nvar semaphore = DispatchSemaphore (value: 0)\n\nvar request = URLRequest(url: URL(string: \"https://api-staging.fourkites.com/shipments/94826232/milestones\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"GET\"\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    semaphore.signal()\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n  semaphore.signal()\n}\n\ntask.resume()\nsemaphore.wait()\n",
        "customLabel": ""
      },
      {
        "id": "Dw1LFSfCnrXNoUPfD9Qjf",
        "language": "csharp",
        "code": "var client = new RestClient(\"https://api-staging.fourkites.com/shipments/94826232/milestones\");\nclient.Timeout = -1;\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"apikey\", \"REPLACE_KEY_VALUE\");\nIRestResponse response = client.Execute(request);\nConsole.WriteLine(response.Content);",
        "customLabel": ""
      },
      {
        "id": "uSF6NxMvUCU7SbSY5KVro",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api-staging.fourkites.com/shipments/94826232/milestones\"\n  method := \"GET\"\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, nil)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "5SWlUZMGA-c3oLf1NqPS2",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api-staging.fourkites.com/shipments/94826232/milestones\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "frohel-ErJSEXSlfuGatu",
        "language": "python",
        "code": "import http.client\n\nconn = http.client.HTTPSConnection(\"api-staging.fourkites.com\")\npayload = ''\nheaders = {\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"GET\", \"/shipments/94826232/milestones\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "3mrO1-Kzysz_uJTcFKYbd"
  },
  "results": {
    "languages": [
      {
        "id": "7dJNG9226j5mSWieP7VUw",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"data\": {\n    \"fourKitesShipmentID\": \"94826232\",\n    \"from\": \"2026-11-18T13:55:00Z\",\n    \"to\": \"2026-11-21T09:52:00Z\",\n    \"milestones\": [\n      {\n        \"id\": \"778812345\",\n        \"severity\": \"success\",\n        \"status\": \"Arrived\",\n        \"fourKitesStopID\": \"312455677\",\n        \"stopReferenceId\": \"DC-0042\",\n        \"eventTime\": \"2026-11-19T08:15:00Z\",\n        \"recordedAt\": \"2026-11-19T08:15:41Z\",\n        \"latitude\": 39.7684,\n        \"longitude\": -86.1581,\n        \"stopName\": \"Indianapolis DC\",\n        \"source\": \"geofence\",\n        \"message\": \"Arrived at Indianapolis DC\"\n      }\n    ]\n  },\n  \"requestId\": \"brlfhvhghpuac6sl1jrh\"\n}"
      },
      {
        "id": "eGABpzw52NqQhvk8kKrBl",
        "language": "400",
        "customLabel": "",
        "code": "{\n  \"errorCode\": 2002,\n  \"errorMessage\": \"updatedSince cannot be combined with since; use updatedSince alone for incremental sync, or since/until for a history window\",\n  \"errorDetails\": [\n    \"updatedSince\"\n  ],\n  \"occurredAt\": \"2026-11-24T09:33:37Z\",\n  \"requestId\": \"dc2ljs9r4elur1uf11cg\"\n}"
      }
    ],
    "selectedLanguageId": "7dJNG9226j5mSWieP7VUw"
  },
  "request": {
    "pathParameters": [
      {
        "name": "fourKitesShipmentID",
        "kind": "required",
        "type": "string",
        "description": "FourKites generated identifier of the shipment. You can get it from the Get shipments list and Get shipment detail APIs. Ex: \"94826232\"",
        "children": []
      }
    ],
    "queryParameters": [
      {
        "name": "since",
        "kind": "optional",
        "type": "string",
        "description": "Start of the time window on eventTime, inclusive. RFC 3339 date-time in UTC. If you send since without until, the window ends at the time of your request. The window can be at most 31 days. URL-encode a + sign as %2B. Default: the start of the shipment. Ex: \"2026-11-01T00:00:00Z\"",
        "children": []
      },
      {
        "name": "until",
        "kind": "optional",
        "type": "string",
        "description": "End of the time window on eventTime, exclusive. RFC 3339 date-time in UTC. If you send neither since nor until, the whole history is returned. Ex: \"2026-11-08T00:00:00Z\"",
        "children": []
      },
      {
        "name": "updatedSince",
        "kind": "optional",
        "type": "string",
        "description": "Returns only the items FourKites recorded at or after this time (based on recordedAt), up to 2 minutes before your request. Use it to keep your own copy up to date. It cannot be combined with since or until. Ex: \"2026-11-20T10:00:00Z\"",
        "children": []
      },
      {
        "name": "pageSize",
        "kind": "optional",
        "type": "integer",
        "description": "Number of items per page, from 1 to 1000. Larger values are served as 1000. Default: 1000. Ex: 500",
        "children": []
      },
      {
        "name": "pageToken",
        "kind": "optional",
        "type": "string",
        "description": "Send this only when the previous response contained a nextPageToken. Pass that value exactly as received, together with the same since, until or updatedSince you used before. The token is opaque and valid for 24 hours.",
        "children": []
      }
    ],
    "headerParameters": [
      {
        "name": "apikey",
        "kind": "required",
        "type": "string",
        "description": "Your Developer Portal API key. The same key you use for the other FourKites APIs.",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "staging",
  "legacyHash": "OjsAxMWX6qgWNYAR_NPtI"
}
```
:::

## Response Attributes

| **Name**              | **Format**      | **Description**                                                                                         |
| --------------------- | --------------- | ------------------------------------------------------------------------------------------------------- |
| `fourKitesShipmentID` | String          | The shipment the history belongs to.                                                                    |
| `from`                | Date-time       | Start of the window the response covers.                                                                |
| `to`                  | Date-time       | End of the window the response covers. After an `updatedSince` call, use it as the next `updatedSince`. |
| `milestones`          | Milestone array | The milestones, oldest first.                                                                           |
| `nextPageToken`       | String          | Present only when more milestones exist. Send it as `pageToken` to get the next page.                   |

### Milestone

| **Name**          | **Format**     | **Description**                                                                                                                                                                                                                                                  |
| ----------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`              | String         | Identifier of the milestone. It is stable across reads, so use it to remove duplicates.                                                                                                                                                                          |
| `status`          | String         | The status as shown in the FourKites tracking updates, for example `Arrived`, `Departed` or `Delayed`.                                                                                                                                                           |
| `severity`        | String or null | The badge colour of the update in the FourKites UI: `info`, `success`, `warning`, `default` or `danger`. It is not the kind of event. Use `status` for that.                                                                                                     |
| `fourKitesStopID` | String or null | The stop the milestone names. It is the same id as `stops[].fourKitesStopID` in Get shipment detail. Null when no stop is named.                                                                                                                                 |
| `stopReferenceId` | String or null | Your reference for that stop. Null when no stop is named or the stop has none.                                                                                                                                                                                   |
| `stopName`        | String or null | Name of that stop. Null when no stop is named.                                                                                                                                                                                                                   |
| `message`         | String or null | The text of the update as the FourKites loads page shows it to your users, for example "Arrived at Origin DC". It can include the driver's phone number in "Driver Assigned" updates when your company shows phone numbers in the FourKites UI. Null when blank. |
| `eventTime`       | Date-time      | When the event happened.                                                                                                                                                                                                                                         |
| `recordedAt`      | Date-time      | When FourKites recorded or last changed this milestone. It can be much later than `eventTime`, for example for a late EDI status or a back-dated manual update.                                                                                                  |
| `latitude`        | Number or null | Latitude of the named stop. Null when no stop is named or the stop is not visible to you.                                                                                                                                                                        |
| `longitude`       | Number or null | Longitude of the named stop. Null when no stop is named or the stop is not visible to you.                                                                                                                                                                       |
| `source`          | String or null | Source of the update, for example `geofence`, `edi` or `system`. New values can appear.                                                                                                                                                                          |

## Paging

Most calls need no paging. A single call with only the `apikey` header and the `fourKitesShipmentID` returns the full history for the vast majority of shipments. When a shipment has more than 1000 milestones, the response is split into pages:

1. Call the API as usual.
2. If the response contains a `nextPageToken`, call the same URL again with `pageToken=<that value>` and the same `since`, `until` or `updatedSince` you sent the first time.
3. Repeat while a `nextPageToken` is present. The last page has no `nextPageToken`.

A page token is valid for 24 hours. If a token is refused with a `400` error, start again from the first page without it. Treat the token as an opaque string and do not edit or build it yourself.

## Keeping Your Own Copy Up to Date

This section is optional. Use it only if you store milestones on your side and want to refresh them without reading the full history each time.

1. Make one plain call for the shipment and store the milestones by `id`.
2. Later, call the API with `updatedSince` set to the time of your last sync (the first time, the time of your plain call).
3. Store what comes back by `id`. An item you already have is replaced, not duplicated.
4. Once you have read the last page, use the `to` value of the response as `updatedSince` in your next call.

`updatedSince` returns the items FourKites recorded at or after that time, up to 2 minutes before your request, so data that is still being written is not skipped. Use it instead of `since` for syncing: `since` filters on when the event happened, and an item that reaches FourKites late can have an older `eventTime` than your last sync.

To avoid unnecessary load, do not request the same shipment more often than once every 15 minutes.

## Status Codes and Errors

| **Code** | **Status**            | **When**                                                                                                                                                                                                                                                                                                   |
| -------- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200      | OK                    | The history is returned. The list can be empty, for example when the shipment is not tracked yet or the window has no data.                                                                                                                                                                                |
| 400      | Bad Request           | A bad parameter: a timestamp that is not RFC 3339, `since` after `until`, a window longer than 31 days, `updatedSince` combined with `since` or `until`, or a `pageToken` that was changed, is older than 24 hours, or belongs to another shipment, window or API key. `errorDetails` names the parameter. |
| 401      | Unauthorized          | The API key is missing or invalid.                                                                                                                                                                                                                                                                         |
| 403      | Forbidden             | Your company is not enabled for this API. Please contact your FourKites Customer Success Manager (CSM).                                                                                                                                                                                                    |
| 404      | Not Found             | The shipment does not exist or is not visible to your company.                                                                                                                                                                                                                                             |
| 429      | Too Many Requests     | The API key used up its rate limit. Retry after a short wait.                                                                                                                                                                                                                                              |
| 500      | Internal Server Error | Please try again later.                                                                                                                                                                                                                                                                                    |
| 504      | Gateway Timeout       | The tracking data did not arrive in time. Please try again later.                                                                                                                                                                                                                                          |

Errors use the standard FourKites error format (`errorCode`, `errorMessage`, `errorDetails`, `occurredAt`, `requestId`). See the Status Code and Errors page for details.

### Response Headers

| **Header**                    | **Meaning**                                                                                                                                          |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `X-FourKites-Skipped-Rows: N` | N stored rows were not valid and were left out of the response. Call again later to get the corrected rows.                                          |
| `X-FourKites-Truncated: true` | Paging is temporarily unavailable and only the first page was returned. For a sync, continue from the `to` value. For a full read, call again later. |
| `Cache-Control: no-store`     | The response must not be cached by clients or proxies.                                                                                               |

