{
  "item": [
    {
      "id": "9bed5231-c967-4a0c-8726-05e642a6348f",
      "name": "Tracking items",
      "description": {
        "content": "Create, edit, read, list, stop and delete tracking items.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "8059cf4c-3168-4b36-9016-2a0bcdaeccfa",
          "name": "Create a tracking",
          "request": {
            "name": "Create a tracking",
            "description": {
              "content": "Sends a tracking request to the driver's phone and returns the new `trackingId`.\n\n- **Driver has the Load Market driver app** (the phone number is registered): the tracking is\n  created with status `request` (\"Pending driver's approval\") and the driver gets a push\n  notification to accept it.\n- **Driver does not have the app yet**: a *pending installation* tracking is created (status\n  `request`, description \"Pending installation\") and the driver receives an SMS invitation.\n  It turns into a regular tracking, with the same `trackingId`, once the driver installs the\n  app and signs in with this phone number.\n- **`schedule` instead of `expDate`**: the tracking is created with status `scheduled` and\n  starts automatically at `schedule.start` (driver invitation included). No webhooks are sent\n  before that.\n- **ELD only (`trackingSource: eld`)**: the truck is tracked through the carrier's ELD instead of\n  a phone. The carrier gets an email to approve the request, and the tracking waits with status\n  `requestEld` (\"Pending ELD admin approval\") until it does. No text message is sent and\n  `driverPhone` is not used. With `schedule` the status is `scheduledEld`.\n- **Hybrid (`trackingSource: hybrid`)**: the truck's ELD and the driver's phone. The driver is\n  invited as above and the carrier gets the approval email. The status is `requestEld` until the\n  driver accepts or the carrier approves, whichever comes first.\n\n**ELD and Hybrid.** Load Market enables them per organization (otherwise\n`403 ELD_TRACKING_NOT_AVAILABLE`), and they need the organization's client key: created by\n`mcNum` / `dotNum` the request answers `400 CLIENT_KEY_REQUIRED` unless your partner key is\nallowlisted for that organization. The carrier must have connected its ELD to Load Market. Before\nanything is saved the create checks the carrier (`eld.carrierDotNumber`), its ELD connection and\nthe truck (`eld.truckNumber`) with the carrier's ELD provider, so it can take a few seconds longer\nthan a phone-only create. For an ELD only tracking `driverPhone` and `loadInstructions` are ignored\nand the emails never carry the Live Tracking Link (`emailUpdates.realTimeTrackingLink` is always\n`false`). See the ELD and Hybrid tracking guide.\n\n**Organization.** Send the organization's client key in `x-api-client-key` (recommended).\nWithout it the organization is resolved from `mcNum` / `dotNum` in the body (`mcNum` wins when\nboth are sent, and neither answers `400 ORG_IDENTIFIER_REQUIRED`). Partners that are not\nallowlisted for number-based creation receive `400 CLIENT_KEY_REQUIRED`. This rule is being\nrolled out and is enforced per partner - until enforcement it runs in shadow mode (the request\nis logged and allowed).\n\n**Billing.** Every tracking consumes 1 tracking request of the organization's plan, or 2 when it\nspans more than 5 days (`billingWeight`). The create is refused with\n`400 TRACKING_LIMIT_REACHED` only when this tracking would exceed the plan's allowance - the\nlast tracking request of the plan is usable. If the last payment for the organization's plan\nfailed, the create is refused with `400 PAYMENT_FAILED` until the organization admin updates the\npayment method and the payment goes through. Organizations without a paid plan are on the Free\nplan (5 one-time tracking requests). Stop `expectedArrival` (Smart Arrival Alerts) requires the\nPRO plan (the VIP plan includes it). ELD and Hybrid tracking items are billed the same way.\n\n**Idempotency.** A create is billed, and a request that timed out may still have created the\ntracking. Send an `Idempotency-Key` header (any unique value, for example a UUID or your load id plus\nan attempt counter) and retry with the SAME key: a key that already created a tracking answers that\ncreate's response again, with the header `Idempotent-Replayed: true`, and nothing new is created or\nbilled. The same key with another request body answers `409 IDEMPOTENCY_KEY_REUSED`, and while the\nfirst create with the key is still running `409 IDEMPOTENCY_IN_PROGRESS` with `Retry-After`. Only a\nsuccessful create is remembered (24 hours): an error answer frees the key, so the same key can be\nretried after a `5xx` or after fixing a `4xx`. A `5xx` can still mean the tracking was written -\nlook for your `customId` in the active list before you retry it.\n\n**Test keys.** Nothing is sent to a driver and nothing is billed: the plan allowance is neither\nchecked nor consumed (`apiUsage` shows the current usage), while the PRO plan check still\napplies. The client key is required: without it the request answers\n`400 ORG_IDENTIFIER_REQUIRED` (\"MC or DOT number is required\"), or `400 CLIENT_KEY_REQUIRED`\nwhen `mcNum` / `dotNum` was sent. `driverPhone` `5555550100` simulates a driver who has the\napp. Any other valid number simulates a pending installation. The tracking id starts with\n`api-test-`, the response carries `testMode: true`. A test tracking lasts at most 24 hours:\n`expDate` / `schedule.end` further out answers `400 EXP_DATE_INVALID` / `SCHEDULE_INVALID`.\nA test key can create 200 test tracking items per UTC day (`429 TEST_LIMIT_REACHED`) and send 60\nrequests per minute (`429 RATE_LIMITED`). With `trackingSource` `eld` or `hybrid` only the shape of\nthe `eld` block is checked - no carrier, ELD provider or truck lookup - and the carrier's side is\ndriven with the `carrier.*` events of `POST /test/simulate`. A hybrid with `driverPhone`\n`5555550100` starts in the driver's app, any other number as pending installation.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "create-tracking"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "disabled": false,
                "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "x-api-client-key",
                "value": "{{clientKey}}",
                "description": "Organization client key (recommended)."
              }
            ],
            "method": "POST",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": {{expDate}},\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "78224c2d-50fd-446e-bced-ede1eacac782",
              "name": "Tracking created (or, with an `Idempotency-Key` used before, the response of that create).",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "`true` when this is the stored response of an earlier create with the same `Idempotency-Key` - no\nnew tracking was created or billed. Absent otherwise.\n",
                  "key": "Idempotent-Replayed",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Tracking request created\",\n  \"trackingId\": \"api-7fK2mQ9xLpR4tN8vB1cD\",\n  \"customId\": \"tms-load-48213\",\n  \"status\": {\n    \"value\": \"request\",\n    \"description\": \"Pending driver's approval\"\n  },\n  \"driverHasApp\": true,\n  \"billingWeight\": 1,\n  \"apiUsage\": {\n    \"planName\": \"Premium\",\n    \"totalTrackings\": 300,\n    \"usedTrackings\": 128,\n    \"currentPeriodEnd\": 1794484800000\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "7f7b1e6a-1b72-4577-9b87-f48ec73a4188",
              "name": "Validation or business error. Codes: `INVALID_CLIENT_KEY`, `CLIENT_KEY_REQUIRED`,\n`ORG_IDENTIFIER_REQUIRED`, `ORGANIZATION_NOT_FOUND`, `DRIVER_PHONE_REQUIRED`,\n`DRIVER_PHONE_INVALID`, `REF_ID_REQUIRED`, `EXP_DATE_REQUIRED`, `EXP_DATE_INVALID`,\n`EXP_DATE_SCHEDULE_CONFLICT`, `SCHEDULE_INVALID`, `LOAD_INSTRUCTIONS_INVALID`,\n`EMAIL_UPDATES_INVALID`, `STOP_LOCATION_INVALID`, `EXPECTED_ARRIVAL_INVALID`,\n`CREATED_BY_TMS_INVALID`, `INVALID_JSON`, `NO_ACTIVE_SUBSCRIPTION`, `TRACKING_LIMIT_REACHED`,\n`PAYMENT_FAILED`, `DRIVER_LOOKUP_FAILED`, `GEOCODING_FAILED`, `ORG_IDENTIFIER_INVALID`, `REF_ID_INVALID`,\n`CUSTOM_ID_INVALID`, `NOTES_INVALID`, `DRIVER_TYPE_INVALID`, `METADATA_INVALID`,\n`IDEMPOTENCY_KEY_INVALID` (an `Idempotency-Key` that is empty, longer than 255 characters or holds\nother than visible ASCII without spaces).\n\nEvery field of the request body is checked against its type and limits in the schema. A value\nof another type, or over its limit, answers `400` with the field's code, and `message` names\nthe field (for example `stopLocations[1].zip must be a string of up to 200 characters`).\n\nELD and Hybrid add `TRACKING_SOURCE_INVALID`, `ELD_DATA_INVALID`, `ELD_CARRIER_NOT_INTEGRATED`,\n`ELD_CONNECTION_UNAVAILABLE` and `ELD_VEHICLE_NOT_FOUND`. `DRIVER_PHONE_REQUIRED` and\n`DRIVER_PHONE_INVALID` do not apply to an ELD only tracking. See the ELD and Hybrid tracking\nguide for each code.\n\n`TRACKING_LIMIT_REACHED` - the plan has fewer tracking requests left than this tracking\nneeds (`billingWeight` 1, or 2 when it is longer than 5 days). `NO_ACTIVE_SUBSCRIPTION` is\npractically never returned: organizations without a paid plan are on the Free plan (5\none-time tracking requests) and get `TRACKING_LIMIT_REACHED` once those are used.\n\n`PAYMENT_FAILED` - the last payment for the organization's plan failed. The plan is kept, but\nno new tracking item is created until the organization admin updates the payment method on\nthe Billing page of the Load Market web app and the payment goes through. Existing tracking\nitems are not affected.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Driver phone number is not valid\",\n  \"code\": \"DRIVER_PHONE_INVALID\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f9c0266a-1b56-4334-a890-618508ae5af4",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "06982c0d-5ae2-42cf-aefc-a28003983937",
              "name": "`PRO_PLAN_REQUIRED` - a stop has `expectedArrival` but the organization is not on a PRO or VIP plan.\n`ELD_TRACKING_NOT_AVAILABLE` - `trackingSource` is `eld` or `hybrid` but Load Market has not\nenabled ELD tracking for the organization.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Expected arrival (Smart Arrival Alerts) requires a PRO plan.\",\n  \"code\": \"PRO_PLAN_REQUIRED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "24819598-1ffe-4d77-8146-551022f61fbe",
              "name": "`IDEMPOTENCY_KEY_REUSED` - the `Idempotency-Key` created a tracking with another request body: use a\nnew key for a new tracking. `IDEMPOTENCY_IN_PROGRESS` - a create with this key is still running:\nretry after `Retry-After` seconds, with the same key.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Conflict",
              "code": 409,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"This Idempotency-Key was used for a create with another request. Use a new key for a new tracking.\",\n  \"code\": \"IDEMPOTENCY_KEY_REUSED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "61fbd96a-162d-4c82-8deb-9b2448fd93db",
              "name": "`TEST_LIMIT_REACHED` (test keys) - the test key already created 200 test tracking items\ntoday (UTC day, and deleting test tracking items does not give the quota back), `Retry-After` points at the\nnext midnight UTC. `RATE_LIMITED` - a test key sent more than 60 requests in a minute, or (any\nkey, ELD and Hybrid) too many unknown truck numbers were sent for the organization in a short\ntime. Wait the number of seconds in `Retry-After`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"A test key can create at most 200 test tracking items per day (UTC). Try again after midnight UTC.\",\n  \"code\": \"TEST_LIMIT_REACHED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "031e2d45-2362-41fe-8aab-67bb7d369ebe",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1b04eaf1-126c-41ad-ae11-937dce87969e",
              "name": "`ELD_PROVIDER_UNAVAILABLE` - ELD and Hybrid only. The carrier's ELD provider did not answer\nthe truck check. Nothing was created. Retry after the number of seconds in `Retry-After`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Service Unavailable",
              "code": 503,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"The carrier's ELD provider is temporarily unavailable, please try again.\",\n  \"code\": \"ELD_PROVIDER_UNAVAILABLE\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "53a9e875-3264-4aac-a367-155f7e9c0418",
              "name": "`UPSTREAM_TIMEOUT` - ELD and Hybrid only. The truck could not be checked with the carrier's\nELD provider in time. Nothing was created. Safe to retry with backoff.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "create-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "Makes the create safe to retry. A unique value of 1 to 255 visible ASCII characters without spaces\n(for example a UUID). The same key with the same request answers the first create's response for 24\nhours. See create-tracking.\n",
                    "key": "Idempotency-Key",
                    "value": "3f6c1b1e-6a7e-4d0f-9f0b-2a4c0e1d5b77"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"driverPhone\": 5555550100,\n  \"refId\": \"LM-48213 CHI-DAL\",\n  \"expDate\": 1793800800000,\n  \"customId\": \"tms-load-48213\",\n  \"notes\": \"Reefer load, keep at 34F.\",\n  \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n  \"driverType\": \"solo\",\n  \"stopLocations\": [\n    {\n      \"streetNumber\": \"3601\",\n      \"streetName\": \"S Ashland Ave\",\n      \"city\": \"Chicago\",\n      \"stateProvince\": \"IL\",\n      \"zip\": \"60609\",\n      \"country\": \"US\",\n      \"customStopId\": \"PU-1\"\n    },\n    {\n      \"streetNumber\": \"4500\",\n      \"streetName\": \"Irving Blvd\",\n      \"city\": \"Dallas\",\n      \"stateProvince\": \"TX\",\n      \"zip\": \"75247\",\n      \"country\": \"US\",\n      \"customStopId\": \"DEL-1\"\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Gateway Timeout",
              "code": 504,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"The ELD truck could not be checked in time, please try again.\",\n  \"code\": \"UPSTREAM_TIMEOUT\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const body = pm.response.json();",
                  "if (body && body.trackingId) {",
                  "    pm.collectionVariables.set(\"trackingId\", body.trackingId);",
                  "}"
                ]
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "199a898a-38ae-4723-9ca9-19dcb14aef8a",
          "name": "Edit a tracking",
          "request": {
            "name": "Edit a tracking",
            "description": {
              "content": "Updates an existing tracking. Only the fields you send are changed. `stopLocations`, when\nsent, replaces the whole stop list (new stops are geocoded like on create). An empty array is\nignored. A stop that is still the same stop keeps its arrival/departure confirmations and its Smart\nArrival Alerts status: the same `customStopId` (at any position), within 100 m of where the stop was.\nWithout ids a stop keeps them at the same position and place, unless stops were removed or inserted and\nanother stop of the list is at the same place (a round trip's return and its pickup) - send\n`customStopId` to keep them in every case. Any other stop starts without them. Changing only a stop's\n`expectedArrival` keeps the stop and recomputes its Smart Arrival Alert. Before 2.6.0 every stop\nstarted over.\n\nThe expiration date, schedule, load instructions and email settings cannot be changed through\nthis endpoint.\n\nThe response `status` is the stored status (without the live refinements such as\n`notMoving`) - call get-tracking for the live status.\n\n**Visibility.** A tracking is visible to the partner key that created it, or to any partner key\nwhen the organization's client key is sent in `x-api-client-key`. This ownership rule is being\nrolled out and is enforced per partner - until enforcement it runs in shadow mode (the request\nis logged and allowed).\n\n**Known v1 quirk.** An unknown `trackingId` returns `404 TRACKING_NOT_FOUND` here, while\nget-tracking, stop-tracking, delete-tracking and get-reports answer `400`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "edit-tracking"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "trackingId",
                  "value": "{{trackingId}}",
                  "description": "(Required) The `trackingId` returned by create-tracking."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "x-api-client-key",
                "value": "{{clientKey}}",
                "description": "Organization client key (optional).",
                "disabled": true
              }
            ],
            "method": "PATCH",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "706bbc57-fc63-46ef-8b28-a0a24e45063c",
              "name": "Tracking updated.",
              "originalRequest": {
                "url": {
                  "path": [
                    "edit-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Tracking request updated\",\n  \"trackingId\": \"api-7fK2mQ9xLpR4tN8vB1cD\",\n  \"customId\": \"tms-load-48213\",\n  \"status\": {\n    \"value\": \"active\",\n    \"description\": \"Active\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "aa78ee24-3a61-4f53-aabf-7e49a5116b55",
              "name": "Validation error. Codes: `TRACKING_ID_REQUIRED`, `STOP_LOCATION_INVALID`,\n`EXPECTED_ARRIVAL_INVALID`, `CREATED_BY_TMS_INVALID`, `GEOCODING_FAILED`, `INVALID_JSON`,\n`REF_ID_INVALID`, `CUSTOM_ID_INVALID`, `NOTES_INVALID`, `DRIVER_TYPE_INVALID`,\n`ORGANIZATION_NOT_FOUND` (the organization the tracking belongs to no longer exists).\n\nEvery field you send is checked against its type and limits in the schema, like on create.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "edit-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Stop locations are not valid\",\n  \"code\": \"STOP_LOCATION_INVALID\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "8b378f8a-b8d0-4c73-aa31-d61a511105b3",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "edit-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0493f769-3686-402e-8a15-b7ffe3863d0b",
              "name": "`PRO_PLAN_REQUIRED` - a stop has `expectedArrival`, the organization is not on a PRO or VIP plan and the tracking item was not created on its PRO trial.",
              "originalRequest": {
                "url": {
                  "path": [
                    "edit-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Expected arrival (Smart Arrival Alerts) requires a PRO plan.\",\n  \"code\": \"PRO_PLAN_REQUIRED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5045855f-3506-4642-965e-961d0c7d0ced",
              "name": "`TRACKING_NOT_FOUND` - no tracking with this id is visible to your key.",
              "originalRequest": {
                "url": {
                  "path": [
                    "edit-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Tracking not found\",\n  \"code\": \"TRACKING_NOT_FOUND\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d77a9c69-c358-4887-b89d-f9b101a3b83a",
              "name": "`RATE_LIMITED` - test keys are limited to 60 requests per minute. Wait the number of seconds in\n`Retry-After`. Live keys have no general rate limit today (fair use, see Rate limits & best\npractices) - only an ELD or Hybrid create answers `RATE_LIMITED` after too many unknown truck\nnumbers for one organization in a short time.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "edit-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Test keys are limited to 60 requests per minute.\",\n  \"code\": \"RATE_LIMITED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "402570de-71ca-4169-ac82-3b65103d1499",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "edit-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"refId\": \"LM-48213 CHI-DAL (rebooked)\",\n  \"notes\": \"Receiver moved the appointment to 10:00 CT.\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "67b2c92d-3048-4eda-9cbd-4008a56bb7b8",
          "name": "Get a tracking",
          "request": {
            "name": "Get a tracking",
            "description": {
              "content": "Returns the current state of one tracking: status, latest driver position, stops with\narrival/departure confirmations, Smart Arrival Alert status, driver files (BOL/POD), email\nsettings and the Live Tracking Link (`publicLink`).\n\n- `requestStopsEta=0|1` adds `stopLocationsEta`: the Traffic-based ETA (driving distance and\n  duration from the driver's last position to the requested stops, with live traffic: Esri\n  routing, and Mapbox driving-traffic when Esri does not answer). A stop whose ETA cannot be\n  computed, or an index that does not exist, is left out.\n- `requestDriverAddress=true` adds the reverse-geocoded address to `driverCoords.location`.\n\n**Driver position.** `driverCoords` is published only while the tracking is live: stored\nstatus `active`, `stop`, `activeEld` or `stopEld` (the derived `notMoving`, `waiting` and\n`settings` come from `active`). For `request`, `cancel`, `done`, the other ELD statuses, pending\ninstallation and scheduled tracking items it is `null`. Positions are stored per driver (or\ntruck), so outside the live window the latest fix may belong to another load. For the same\nreason, on a mobile tracking it stays `null` after the driver accepts, until the phone sends its\nfirst position for this tracking.\n\n**Potential Fraud Alerts (PRO).** `fraudAlerts` reports signals about the driver's phone\n(jailbroken device, emulator, VPN, IP address or GPS position outside the US and Canada) for\norganizations on a PRO or VIP plan, and for tracking items created on the organization's PRO\ntrial, in the same live window as `driverCoords`. It is `null` otherwise, always for an ELD only\ntracking, and for a hybrid until the driver accepts it in the app. A signal is not proof of fraud - see the Potential Fraud Alerts guide.\n\nWhen an optional enrichment cannot be computed the response is still `200` and `message`\nexplains what is missing (for example `Driver location address can not be provided, driver\ncoordinates not available.`).\n\n**Visibility.** A tracking is visible to the partner key that created it, or to any partner key\nwhen the organization's client key is sent in `x-api-client-key`. This ownership rule is being\nrolled out and is enforced per partner - until enforcement it runs in shadow mode (the request\nis logged and allowed).\n\nThe driver app reports a position about every 20 seconds. An ELD position is read from the\ncarrier's ELD provider about once a minute, and its `lastUpdate` is the time the ELD recorded it.\nPoll at most once per minute per tracking and prefer webhooks.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "get-tracking"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "trackingId",
                  "value": "{{trackingId}}",
                  "description": "(Required) The `trackingId` returned by create-tracking."
                },
                {
                  "disabled": true,
                  "key": "requestStopsEta",
                  "value": "0|1",
                  "description": "Pipe-separated zero-based stop indexes to compute the Traffic-based ETA for, for example\n`0|1`. An index that does not exist is left out of `stopLocationsEta`.\n"
                },
                {
                  "disabled": true,
                  "key": "requestDriverAddress",
                  "value": "false",
                  "description": "When `true`, the driver's current address is added as `driverCoords.location`."
                },
                {
                  "disabled": true,
                  "key": "requestDriverDetails",
                  "value": "false",
                  "description": "When `true`, `driverDetails` is added: the driver of the tracking item and the device that tracks it\n(name, phone, picture, app version and language, device). Every plan. Not in webhooks or the list.\n"
                },
                {
                  "disabled": true,
                  "key": "requestPhoneSettings",
                  "value": "false",
                  "description": "When `true`, `phoneSettings` is added: the location settings of the phone that tracks the tracking item\n(permission, accuracy, power-save mode) - what the `settings` status is about, without the driver's\npersonal data. Every plan. Not in webhooks or the list.\n"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "x-api-client-key",
                "value": "{{clientKey}}",
                "description": "Organization client key (optional).",
                "disabled": true
              }
            ],
            "method": "GET",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            }
          },
          "response": [
            {
              "id": "3496bbf3-b19f-47e4-8ac2-172f8dd32f8d",
              "name": "Tracking data.",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    },
                    {
                      "key": "requestStopsEta",
                      "value": "0|1"
                    },
                    {
                      "key": "requestDriverAddress",
                      "value": "false"
                    },
                    {
                      "key": "requestDriverDetails",
                      "value": "false"
                    },
                    {
                      "key": "requestPhoneSettings",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Ok\",\n  \"data\": {\n    \"trackingId\": \"api-7fK2mQ9xLpR4tN8vB1cD\",\n    \"status\": {\n      \"value\": \"active\",\n      \"description\": \"Active\"\n    },\n    \"driverHasApp\": true,\n    \"driverInvite\": {\n      \"smsStatus\": \"sent\",\n      \"smsFailureReason\": null,\n      \"smsCount\": 1,\n      \"lastSmsAt\": 1793628060000,\n      \"appLink\": \"https://notification.load-market.com/enQZ/sb3to39y\"\n    },\n    \"customId\": \"tms-load-48213\",\n    \"notes\": \"Reefer load, keep at 34F.\",\n    \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n    \"billingWeight\": 1,\n    \"schedule\": null,\n    \"emailSettings\": {\n      \"reportEmails\": [],\n      \"intervalMinutes\": null,\n      \"scheduledTimes\": null,\n      \"realTimeTrackingLink\": true,\n      \"driverAttachedFilesNotification\": false,\n      \"stopStatusEmails\": false\n    },\n    \"trackingSource\": null,\n    \"expDate\": 1793800800000,\n    \"publicLink\": \"https://tracking.load-market.com?track=Wd5nR8cK3yT6pJ2mV9sF\",\n    \"driverCoords\": {\n      \"lat\": 39.781721,\n      \"lng\": -89.650148,\n      \"speed\": 28.6,\n      \"battery\": 0.82,\n      \"heading\": 205,\n      \"accuracy\": 6,\n      \"locationSource\": \"gps\",\n      \"lastUpdate\": 1793650490000\n    },\n    \"fraudAlerts\": {\n      \"alerts\": [\n        \"vpn\",\n        \"ipOutsideUsCa\"\n      ],\n      \"signals\": {\n        \"jailbrokenDevice\": false,\n        \"emulator\": false,\n        \"vpn\": true,\n        \"ipOutsideUsCa\": true,\n        \"gpsOutsideUsCa\": false\n      },\n      \"ipLocation\": {\n        \"country\": \"DE\",\n        \"countryName\": \"Germany\",\n        \"stateProvince\": \"Berlin\",\n        \"city\": \"Berlin\",\n        \"zip\": \"10115\"\n      }\n    },\n    \"stopLocations\": [\n      {\n        \"streetName\": \"S Ashland Ave\",\n        \"streetNumber\": \"3601\",\n        \"city\": \"Chicago\",\n        \"stateProvince\": \"IL\",\n        \"zip\": \"60609\",\n        \"country\": \"US\",\n        \"formattedAddress\": \"3601 S Ashland Ave, Chicago, IL 60609\",\n        \"latitude\": 41.826772,\n        \"longitude\": -87.665378,\n        \"customStopId\": \"PU-1\",\n        \"expectedArrival\": null,\n        \"stopAlertStatusInfo\": null,\n        \"locationStatus\": {\n          \"arrived\": {\n            \"confirm\": true,\n            \"date\": 1793635620000\n          },\n          \"completed\": {\n            \"confirm\": true,\n            \"date\": 1793638080000\n          }\n        }\n      },\n      {\n        \"streetName\": \"Irving Blvd\",\n        \"streetNumber\": \"4500\",\n        \"city\": \"Dallas\",\n        \"stateProvince\": \"TX\",\n        \"zip\": \"75247\",\n        \"country\": \"US\",\n        \"formattedAddress\": \"4500 Irving Blvd, Dallas, TX 75247\",\n        \"latitude\": 32.815311,\n        \"longitude\": -96.866842,\n        \"customStopId\": \"DEL-1\",\n        \"expectedArrival\": null,\n        \"stopAlertStatusInfo\": null,\n        \"locationStatus\": {\n          \"arrived\": null,\n          \"completed\": null\n        }\n      }\n    ],\n    \"stopLocationsEta\": [\n      {\n        \"stopIndex\": 1,\n        \"distance\": {\n          \"text\": \"687 mi\",\n          \"value\": 1105622\n        },\n        \"duration\": {\n          \"text\": \"11 hours 2 mins\",\n          \"value\": 39720\n        }\n      }\n    ],\n    \"driverFiles\": [\n      {\n        \"fileId\": \"Yb2mX7qK4pL9sT1wR6nC\",\n        \"name\": \"bol-48213.jpg\",\n        \"date\": 1793638080000,\n        \"url\": \"https://firebasestorage.googleapis.com/v0/b/example/o/bol-48213.jpg\",\n        \"type\": \"bol\"\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a09c69a1-8f25-400e-8d1c-72b5dfca3925",
              "name": "Codes: `TRACKING_ID_REQUIRED`, `STOPS_ETA_INVALID`, `TRACKING_NOT_FOUND`.\nKnown v1 quirk: an unknown `trackingId` answers `400 TRACKING_NOT_FOUND` (edit-tracking answers `404`).\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    },
                    {
                      "key": "requestStopsEta",
                      "value": "0|1"
                    },
                    {
                      "key": "requestDriverAddress",
                      "value": "false"
                    },
                    {
                      "key": "requestDriverDetails",
                      "value": "false"
                    },
                    {
                      "key": "requestPhoneSettings",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"No tracking found\",\n  \"code\": \"TRACKING_NOT_FOUND\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "54e89ef7-b2a3-46f4-9678-2021813a055b",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    },
                    {
                      "key": "requestStopsEta",
                      "value": "0|1"
                    },
                    {
                      "key": "requestDriverAddress",
                      "value": "false"
                    },
                    {
                      "key": "requestDriverDetails",
                      "value": "false"
                    },
                    {
                      "key": "requestPhoneSettings",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "285b8ddb-3d3b-4c18-9527-3ce93ec3aa60",
              "name": "`RATE_LIMITED` - test keys are limited to 60 requests per minute. Wait the number of seconds in\n`Retry-After`. Live keys have no general rate limit today (fair use, see Rate limits & best\npractices) - only an ELD or Hybrid create answers `RATE_LIMITED` after too many unknown truck\nnumbers for one organization in a short time.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    },
                    {
                      "key": "requestStopsEta",
                      "value": "0|1"
                    },
                    {
                      "key": "requestDriverAddress",
                      "value": "false"
                    },
                    {
                      "key": "requestDriverDetails",
                      "value": "false"
                    },
                    {
                      "key": "requestPhoneSettings",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Test keys are limited to 60 requests per minute.\",\n  \"code\": \"RATE_LIMITED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e9a4506f-1df0-4535-95be-3ce498bd7147",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    },
                    {
                      "key": "requestStopsEta",
                      "value": "0|1"
                    },
                    {
                      "key": "requestDriverAddress",
                      "value": "false"
                    },
                    {
                      "key": "requestDriverDetails",
                      "value": "false"
                    },
                    {
                      "key": "requestPhoneSettings",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1f7e97dd-13b9-4308-ad89-3513ef83fe53",
              "name": "`UPSTREAM_TIMEOUT` - the tracking could not be assembled in time (25 s per stage). Safe to retry with backoff.",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    },
                    {
                      "key": "requestStopsEta",
                      "value": "0|1"
                    },
                    {
                      "key": "requestDriverAddress",
                      "value": "false"
                    },
                    {
                      "key": "requestDriverDetails",
                      "value": "false"
                    },
                    {
                      "key": "requestPhoneSettings",
                      "value": "false"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Gateway Timeout",
              "code": 504,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Tracking data could not be assembled in time, please try again.\",\n  \"code\": \"UPSTREAM_TIMEOUT\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "f885776d-3a8f-4c53-98ca-eaa0abf90ed2",
          "name": "List tracking items of your organization",
          "request": {
            "name": "List tracking items of your organization",
            "description": {
              "content": "Returns a slim list of the organization's tracking items. The organization comes from the\nmandatory `x-api-client-key` header. The list never crosses organizations.\n\n- `type=active`: every tracking item that is not finished (including rejected ones) plus\n  pending installation and scheduled tracking items, newest first. No pagination, capped at\n  500 items per source (regular and pending).\n- `type=history`: finished tracking items (`done` or `doneEld`) whose expiration date (`expDate`) falls in\n  the window `fromDate < expDate <= toDate`, ordered by `expDate` ascending, paginated with\n  `limit` and `cursor`. Without `fromDate` the window starts 7 days ago.\n\nHistory keeps finished tracking items for a limited time only, so sync what you need\nregularly. Stopping a tracking does not change its `expDate`, so a tracking stopped early\nlands in history by its original `expDate`.\n\nItems are slim by design (no email settings, driver files, ETA or reverse-geocoded address) -\ncall get-tracking for the full view. `driverCoords` is set only for live tracking items\n(stored status `active`, `stop`, `activeEld` or `stopEld`). History items always have `driverCoords: null`.\n\nWith a TEST key the list contains test tracking items only, and history returns a single page\n(`nextCursor` is always `null`).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "get-all-tracking-items"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "type",
                  "value": "active",
                  "description": "(Required) `active` for the live list, `history` for finished tracking items."
                },
                {
                  "disabled": true,
                  "key": "fromDate",
                  "value": "1792972800000",
                  "description": "History only. Window start in epoch milliseconds (UTC), exclusive, applied to `expDate`. Defaults to now minus 7 days."
                },
                {
                  "disabled": true,
                  "key": "toDate",
                  "value": "1793577600000",
                  "description": "History only. Window end in epoch milliseconds (UTC), inclusive, applied to `expDate`. No upper bound when omitted."
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "100",
                  "description": "History only. Page size."
                },
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "",
                  "description": "History only. Opaque cursor from the previous page's `pagination.nextCursor`. Send it with the same window."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "x-api-client-key",
                "value": "{{clientKey}}",
                "description": "Organization client key (required)."
              }
            ],
            "method": "GET",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            }
          },
          "response": [
            {
              "id": "e458838a-1df4-4db9-aaf7-d02aa2d88f14",
              "name": "Tracking items. `pagination` is present on history responses only.",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-all-tracking-items"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "<string>"
                    },
                    {
                      "key": "fromDate",
                      "value": "1792972800000"
                    },
                    {
                      "key": "toDate",
                      "value": "1793577600000"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "<string>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Ok\",\n  \"data\": [\n    {\n      \"trackingId\": \"api-7fK2mQ9xLpR4tN8vB1cD\",\n      \"status\": {\n        \"value\": \"done\",\n        \"description\": \"Tracking finished\"\n      },\n      \"createdAt\": 1793628000000,\n      \"expDate\": 1793800800000,\n      \"notes\": \"Reefer load, keep at 34F.\",\n      \"loadInstructions\": \"Call the receiver 30 min before arrival. Dock 12.\",\n      \"billingWeight\": 1,\n      \"schedule\": null,\n      \"customId\": \"tms-load-48213\",\n      \"referenceId\": \"LM-48213 CHI-DAL\",\n      \"trackingSource\": null,\n      \"publicLink\": \"https://tracking.load-market.com?track=Wd5nR8cK3yT6pJ2mV9sF\",\n      \"stopLocations\": [],\n      \"driverHasApp\": true,\n      \"driverInvite\": {\n        \"smsStatus\": \"sent\",\n        \"smsFailureReason\": null,\n        \"smsCount\": 1,\n        \"lastSmsAt\": 1793628060000,\n        \"appLink\": \"https://notification.load-market.com/enQZ/sb3to39y\"\n      },\n      \"driverCoords\": null\n    }\n  ],\n  \"pagination\": {\n    \"nextCursor\": \"eyJ2IjoxNzkzODAwODAwMDAwLCJwIjoidHJhY2tpbmcvWGszL3RyYWNraW5nLWxpc3QvYXBpLTdmSzJtUTl4THBSNHROOHZCMWNEIn0\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3548806c-7ebc-40e0-91c9-adcd6619683c",
              "name": "Codes: `CLIENT_KEY_REQUIRED`, `INVALID_CLIENT_KEY`, `LIST_TYPE_INVALID`, `LIST_PARAMS_INVALID`\n(window, limit or cursor not valid, or history parameters sent with `type=active`).\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-all-tracking-items"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "<string>"
                    },
                    {
                      "key": "fromDate",
                      "value": "1792972800000"
                    },
                    {
                      "key": "toDate",
                      "value": "1793577600000"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "<string>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Client access key is required\",\n  \"code\": \"CLIENT_KEY_REQUIRED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b0197eb3-b158-462e-a4bd-863c4a49f8c7",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-all-tracking-items"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "<string>"
                    },
                    {
                      "key": "fromDate",
                      "value": "1792972800000"
                    },
                    {
                      "key": "toDate",
                      "value": "1793577600000"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "<string>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1a45ca32-38cf-4730-aabb-16d2ba6acf45",
              "name": "`RATE_LIMITED` - test keys are limited to 60 requests per minute. Wait the number of seconds in\n`Retry-After`. Live keys have no general rate limit today (fair use, see Rate limits & best\npractices) - only an ELD or Hybrid create answers `RATE_LIMITED` after too many unknown truck\nnumbers for one organization in a short time.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-all-tracking-items"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "<string>"
                    },
                    {
                      "key": "fromDate",
                      "value": "1792972800000"
                    },
                    {
                      "key": "toDate",
                      "value": "1793577600000"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "<string>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Test keys are limited to 60 requests per minute.\",\n  \"code\": \"RATE_LIMITED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f96ab4dd-a2b9-4412-8651-e6890dde3261",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-all-tracking-items"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "type",
                      "value": "<string>"
                    },
                    {
                      "key": "fromDate",
                      "value": "1792972800000"
                    },
                    {
                      "key": "toDate",
                      "value": "1793577600000"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "<string>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "164059e6-2cf2-4a9e-b088-0c3c854514b6",
          "name": "Stop a tracking",
          "request": {
            "name": "Stop a tracking",
            "description": {
              "content": "Finishes a tracking: its status becomes `done` (`doneEld` for an ELD or Hybrid tracking), the\ndriver's app and the truck's ELD stop sharing the location for it, and it moves to history.\nWorks on tracking items that exist in the driver's app or were approved by the carrier (any\nstatus). A pending installation, a scheduled tracking that has not started, or an ELD only\ntracking still waiting for the carrier's approval is not found here - delete it instead.\n\nFor tracking items created through the API with webhooks enabled on the key, the final `done`\n(or `doneEld`) webhook is sent as well (see Webhooks).\n\nStopping does not change the tracking's `expDate`: a tracking stopped early lands in the\nhistory list by its original `expDate`.\n\n**Visibility.** A tracking is visible to the partner key that created it, or to any partner key\nwhen the organization's client key is sent in `x-api-client-key`. This ownership rule is being\nrolled out and is enforced per partner - until enforcement it runs in shadow mode (the request\nis logged and allowed).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "stop-tracking"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "trackingId",
                  "value": "{{trackingId}}",
                  "description": "(Required) The `trackingId` returned by create-tracking."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "x-api-client-key",
                "value": "{{clientKey}}",
                "description": "Organization client key (optional).",
                "disabled": true
              }
            ],
            "method": "PATCH",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            }
          },
          "response": [
            {
              "id": "80b31cc2-3468-4fed-ac65-f198cb908bd3",
              "name": "Tracking stopped.",
              "originalRequest": {
                "url": {
                  "path": [
                    "stop-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Ok\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ffe9017a-540c-4359-90da-d769bda73d05",
              "name": "Codes: `TRACKING_ID_REQUIRED`, `TRACKING_NOT_FOUND`.\nKnown v1 quirk: an unknown `trackingId` answers `400` (edit-tracking answers `404`).\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stop-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"No active tracking found\",\n  \"code\": \"TRACKING_NOT_FOUND\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3bd0fdba-6d66-40f1-8710-c7b12e36bc0d",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stop-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2385b7ca-2026-4543-ba12-8914c352b219",
              "name": "`RATE_LIMITED` - test keys are limited to 60 requests per minute. Wait the number of seconds in\n`Retry-After`. Live keys have no general rate limit today (fair use, see Rate limits & best\npractices) - only an ELD or Hybrid create answers `RATE_LIMITED` after too many unknown truck\nnumbers for one organization in a short time.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "stop-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Test keys are limited to 60 requests per minute.\",\n  \"code\": \"RATE_LIMITED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "65ef399f-b33c-45b9-aefc-808a472ae178",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "stop-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "PATCH",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "1b8467ee-e577-4512-8894-a570def7396d",
          "name": "Delete a tracking",
          "request": {
            "name": "Delete a tracking",
            "description": {
              "content": "Permanently deletes a tracking with its driver files, chat and location reports. Works for\nevery tracking, including pending installation and scheduled ones. Deletion is idempotent on\npartial failure: when you get a `500`, retry the same call.\n\nDeleting does not refund the tracking request already consumed from the plan.\n\n**Visibility.** A tracking is visible to the partner key that created it, or to any partner key\nwhen the organization's client key is sent in `x-api-client-key`. This ownership rule is being\nrolled out and is enforced per partner - until enforcement it runs in shadow mode (the request\nis logged and allowed).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "delete-tracking"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "trackingId",
                  "value": "{{trackingId}}",
                  "description": "(Required) The `trackingId` returned by create-tracking."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "x-api-client-key",
                "value": "{{clientKey}}",
                "description": "Organization client key (optional).",
                "disabled": true
              }
            ],
            "method": "DELETE",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            }
          },
          "response": [
            {
              "id": "2ee94de9-9e7c-4c07-8402-301a40182eda",
              "name": "Tracking deleted.",
              "originalRequest": {
                "url": {
                  "path": [
                    "delete-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Ok\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fb2bba0a-4c55-4f89-9c5c-9ec634a42e23",
              "name": "Codes: `TRACKING_ID_REQUIRED`, `TRACKING_NOT_FOUND`.\nKnown v1 quirk: an unknown `trackingId` answers `400` (edit-tracking answers `404`).\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "delete-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"No tracking found\",\n  \"code\": \"TRACKING_NOT_FOUND\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "42fcb828-81f4-4e79-b2ad-1293d566a609",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "delete-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "22fe45b3-0be4-4091-ac77-b38dbfc99b30",
              "name": "`RATE_LIMITED` - test keys are limited to 60 requests per minute. Wait the number of seconds in\n`Retry-After`. Live keys have no general rate limit today (fair use, see Rate limits & best\npractices) - only an ELD or Hybrid create answers `RATE_LIMITED` after too many unknown truck\nnumbers for one organization in a short time.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "delete-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Test keys are limited to 60 requests per minute.\",\n  \"code\": \"RATE_LIMITED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2d50be5e-f4a3-47a7-a777-c48349092723",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "delete-tracking"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "DELETE",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "b2d58cc6-b540-49a4-9c2e-f7f645ca1cc0",
      "name": "Reports",
      "description": {
        "content": "Location history of a tracking.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "c5cd92f6-c658-4ffb-b750-a2cf3f429630",
          "name": "Get the location history of a tracking",
          "request": {
            "name": "Get the location history of a tracking",
            "description": {
              "content": "Returns the recorded location reports of a tracking, oldest first. While a tracking is active a\nreport is recorded about every 15 minutes, only when the driver moved since the previous one.\n\n**Known v1 quirk.** `data[].date` is an ISO-8601 string (UTC, minute precision). Every other\ntimestamp in this API is epoch milliseconds.\n\n**Visibility.** A tracking is visible to the partner key that created it, or to any partner key\nwhen the organization's client key is sent in `x-api-client-key`. This ownership rule is being\nrolled out and is enforced per partner - until enforcement it runs in shadow mode (the request\nis logged and allowed).\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "get-reports"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "trackingId",
                  "value": "{{trackingId}}",
                  "description": "(Required) The `trackingId` returned by create-tracking."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "x-api-client-key",
                "value": "{{clientKey}}",
                "description": "Organization client key (optional).",
                "disabled": true
              }
            ],
            "method": "GET",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-key"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}"
                },
                {
                  "key": "in",
                  "value": "header"
                }
              ]
            }
          },
          "response": [
            {
              "id": "073186eb-8145-40d7-a678-f27c5c999a9d",
              "name": "Location reports.",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-reports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Ok\",\n  \"data\": [\n    {\n      \"location\": \"Chicago, IL\",\n      \"lat\": 41.826772,\n      \"lng\": -87.665378,\n      \"date\": \"2026-11-02T16:10:00.000Z\"\n    },\n    {\n      \"location\": \"Bolingbrook, IL\",\n      \"lat\": 41.69864,\n      \"lng\": -88.068398,\n      \"date\": \"2026-11-02T17:25:00.000Z\"\n    }\n  ]\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e0195ab6-d680-4c4a-a879-a6989acb3732",
              "name": "Codes: `TRACKING_ID_REQUIRED`, `REPORTS_NOT_FOUND` (the tracking does not exist, is not\nvisible to your key, or has no reports yet). Known v1 quirk: not-found answers `400`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-reports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"No tracking reports found\",\n  \"code\": \"REPORTS_NOT_FOUND\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c00353c5-4b67-43d4-bb1e-628b16a756aa",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-reports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "af8d96a7-afcf-4f4b-8cbe-7da1e88c8231",
              "name": "`RATE_LIMITED` - test keys are limited to 60 requests per minute. Wait the number of seconds in\n`Retry-After`. Live keys have no general rate limit today (fair use, see Rate limits & best\npractices) - only an ELD or Hybrid create answers `RATE_LIMITED` after too many unknown truck\nnumbers for one organization in a short time.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-reports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Test keys are limited to 60 requests per minute.\",\n  \"code\": \"RATE_LIMITED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0fe1b310-c73f-4115-96b2-ff3e51f878a1",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "get-reports"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "trackingId",
                      "value": "api-7fK2mQ9xLpR4tN8vB1cD"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "02b56fc5-6df6-4585-920a-a68f86b95163",
      "name": "Test mode",
      "description": {
        "content": "Drive a test tracking through its lifecycle. Works only with a TEST partner key.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "9e8da442-cb4a-4947-8805-c88e046cfefb",
          "name": "Simulate a driver event",
          "request": {
            "name": "Simulate a driver event",
            "description": {
              "content": "Moves a test tracking through its lifecycle as if a real driver did it, then sends one signed\nwebhook for the new state to the webhook URL configured on your TEST key. The response tells you\nwhat your endpoint answered.\n\nWorks only with a TEST key (a live key gets `403 TEST_MODE_ONLY`). Use the same test key that\ncreated the tracking.\n\n| Event | Allowed from | Result |\n| --- | --- | --- |\n| `driver.installed` | pending installation, or `scheduled` whose driver has no app | `request` (driver has the app now). On a scheduled tracking `driverHasApp` becomes `true` and the status stays `scheduled` |\n| `driver.accepted` | `request` | `active` |\n| `driver.rejected` | `request` | `cancel` |\n| `location` | `active` | `active` with the new `driverCoords` (requires `coords`) |\n| `driver.paused` | `active` | `stop` |\n| `driver.resumed` | `stop` | `active` |\n| `tracking.finished` | `active`, `stop` | `done` |\n| `webhook.ping` | any | unchanged - resends the current state |\n| `driver.flagged` | any, except pending installation and `scheduled` | unchanged status. Raises the Potential Fraud Alerts listed in `alerts` on the simulated driver's phone (an empty list clears them). They show in `fraudAlerts` while the tracking is `active` or `stop`, for an organization on a PRO or VIP plan |\n\n**ELD and Hybrid test tracking items** add the carrier's side (the Start, Stop and Cancel links of\nthe carrier's approval email):\n\n| Event | Allowed from | Result |\n| --- | --- | --- |\n| `carrier.approved` | `requestEld` waiting for the carrier, `scheduledEld`, or a hybrid in the driver's app the carrier has not approved (also after `carrier.rejected`) | `activeEld` (the truck's ELD starts reporting). On `scheduledEld` the approval is recorded and the status stays until `schedule.start`, then becomes `activeEld`. On a hybrid the driver already moved, the status stays |\n| `carrier.paused` | approved by the carrier | unchanged status - the truck's ELD stops reporting |\n| `carrier.resumed` | paused by the carrier | unchanged status - the truck's ELD reports again |\n| `carrier.rejected` | any, until the tracking is finished (not twice in a row) | ELD only: `cancelEld`. Hybrid: only the ELD part ends and the status stays, unless the driver declined too (`cancelEld`) |\n| `driver.installed` | hybrid whose driver has no app | `driverHasApp` becomes `true`. A pending one moves into the driver's app with status `requestEld`, one the carrier already started keeps its status |\n| `driver.accepted` | hybrid in the driver's app, `requestEld` or `activeEld` | `activeEld` (the phone reports too) |\n| `driver.rejected` | hybrid in the driver's app, not accepted | unchanged status, or `cancelEld` when the carrier already cancelled |\n| `driver.paused` | hybrid `activeEld` the driver accepted | `stopEld` - the truck's ELD keeps reporting |\n| `driver.resumed` | `stopEld` | `activeEld` |\n| `location` | `activeEld`, or a hybrid `stopEld` | the new `driverCoords`. A fix from the truck's ELD (no live phone) has `battery`, `accuracy` and `locationSource` `null` |\n| `tracking.finished` | `activeEld`, `stopEld` | `doneEld` |\n| `driver.flagged` | hybrid in the driver's app | as above - only while the driver has accepted the tracking |\n\nA scheduled ELD or Hybrid test tracking that the carrier did not approve by `schedule.start` becomes\n`requestEld` (a hybrid also loses its `schedule`). The `carrier.*` events answer\n`400 TEST_EVENT_INVALID` on a phone-only test tracking.\n\nAn event that is not allowed from the current status returns `400 TEST_EVENT_INVALID`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "test",
                "simulate"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "auth": null,
            "body": {
              "mode": "raw",
              "raw": "{\n  \"trackingId\": \"{{trackingId}}\",\n  \"event\": \"driver.accepted\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "7bf93182-bf1b-4de6-b62e-8c79eb31c081",
              "name": "Event applied. `webhook` reports the delivery to your test webhook URL.",
              "originalRequest": {
                "url": {
                  "path": [
                    "test",
                    "simulate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"trackingId\": \"api-test-Zr8pL3nW6yQ1cV5kT9xB\",\n  \"event\": \"driver.accepted\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Ok\",\n  \"data\": {\n    \"trackingId\": \"api-test-Zr8pL3nW6yQ1cV5kT9xB\",\n    \"status\": {\n      \"value\": \"active\",\n      \"description\": \"Active\"\n    },\n    \"driverHasApp\": true,\n    \"driverInvite\": {\n      \"smsStatus\": null,\n      \"smsFailureReason\": null,\n      \"smsCount\": 0,\n      \"lastSmsAt\": null,\n      \"appLink\": \"https://notification.load-market.com/enQZ/sb3to39y\"\n    },\n    \"customId\": null,\n    \"notes\": \"\",\n    \"loadInstructions\": null,\n    \"billingWeight\": 1,\n    \"schedule\": null,\n    \"emailSettings\": {\n      \"reportEmails\": [],\n      \"intervalMinutes\": null,\n      \"scheduledTimes\": null,\n      \"realTimeTrackingLink\": true,\n      \"driverAttachedFilesNotification\": false,\n      \"stopStatusEmails\": false\n    },\n    \"trackingSource\": null,\n    \"expDate\": 1793707200000,\n    \"stopLocations\": [],\n    \"driverCoords\": {\n      \"lat\": 39.781721,\n      \"lng\": -89.650148,\n      \"speed\": 28.6,\n      \"battery\": 0.82,\n      \"heading\": 205,\n      \"accuracy\": 6.5,\n      \"locationSource\": \"gps\",\n      \"lastUpdate\": 1793650527000\n    },\n    \"fraudAlerts\": {\n      \"alerts\": [],\n      \"signals\": {\n        \"jailbrokenDevice\": false,\n        \"emulator\": false,\n        \"vpn\": false,\n        \"ipOutsideUsCa\": false,\n        \"gpsOutsideUsCa\": false\n      },\n      \"ipLocation\": null\n    },\n    \"publicLink\": null,\n    \"driverFiles\": []\n  },\n  \"events\": [],\n  \"webhook\": {\n    \"attempted\": true,\n    \"status\": 200,\n    \"webhookId\": \"msg_2b7c1f0e-5d3a-4c8e-9b61-7a4f0d2e9c35\",\n    \"reason\": null\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "254cdfca-baa7-4a1b-b4f7-120b9edc18a4",
              "name": "Codes: `TRACKING_ID_REQUIRED`, `TEST_EVENT_INVALID` (unknown event, missing `coords` for\n`location`, missing or unknown `alerts` for `driver.flagged`, a `carrier.*` event on a\nphone-only test tracking, or the event is not allowed from the current status),\n`TRACKING_NOT_FOUND`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "test",
                    "simulate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"trackingId\": \"api-test-Zr8pL3nW6yQ1cV5kT9xB\",\n  \"event\": \"driver.accepted\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"trackingId is required\",\n  \"code\": \"TRACKING_ID_REQUIRED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c7228d30-b8e3-404d-9972-0746c4f7f39b",
              "name": "`MISSING_API_KEY` or `INVALID_API_KEY` - the `x-api-key` header is missing, unknown or revoked.\nKnown v1 quirk: an unknown path under `/v1` also answers `401` when no valid key is sent.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "test",
                    "simulate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"trackingId\": \"api-test-Zr8pL3nW6yQ1cV5kT9xB\",\n  \"event\": \"driver.accepted\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Missing access key\",\n  \"code\": \"MISSING_API_KEY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e8d58888-e430-451a-bef7-b1f7ad65e5ff",
              "name": "`TEST_MODE_ONLY` - the endpoint was called with a live key.",
              "originalRequest": {
                "url": {
                  "path": [
                    "test",
                    "simulate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"trackingId\": \"api-test-Zr8pL3nW6yQ1cV5kT9xB\",\n  \"event\": \"driver.accepted\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"This endpoint is only available with a test API key.\",\n  \"code\": \"TEST_MODE_ONLY\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "28de9172-d753-4d52-9247-069d0cece5a7",
              "name": "`RATE_LIMITED` - test keys are limited to 60 requests per minute. Wait the number of seconds in\n`Retry-After`. Live keys have no general rate limit today (fair use, see Rate limits & best\npractices) - only an ELD or Hybrid create answers `RATE_LIMITED` after too many unknown truck\nnumbers for one organization in a short time.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "test",
                    "simulate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"trackingId\": \"api-test-Zr8pL3nW6yQ1cV5kT9xB\",\n  \"event\": \"driver.accepted\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "disabled": false,
                  "description": "Seconds to wait before retrying.",
                  "key": "Retry-After",
                  "value": "42"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Test keys are limited to 60 requests per minute.\",\n  \"code\": \"RATE_LIMITED\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "82318d7d-2753-4ee8-8879-b3c2d5bbdc63",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "test",
                    "simulate"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"trackingId\": \"api-test-Zr8pL3nW6yQ1cV5kT9xB\",\n  \"event\": \"driver.accepted\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "5d96bbf4-1ee5-48d8-848d-a194b003df39",
      "name": "System",
      "description": {
        "content": "Service health.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "2f9f0f16-0abf-40b9-a4ee-a4aaeb9533b9",
          "name": "Health check",
          "request": {
            "name": "Health check",
            "description": {
              "content": "Returns `200` while the API is up. Needs no key and reads no data - use it for uptime monitors.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "health"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "id": "a8ad0ca9-a70f-4d86-8c18-f1a1af995952",
              "name": "The API is up.",
              "originalRequest": {
                "url": {
                  "path": [
                    "health"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"ok\",\n  \"time\": 1793650527000\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "04568725-51f8-4fd1-8eb3-660c416459c3",
              "name": "`INTERNAL_ERROR` - unexpected server error. Retry with backoff and quote `requestId` if it persists.",
              "originalRequest": {
                "url": {
                  "path": [
                    "health"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Internal Server Error",
              "code": 500,
              "header": [
                {
                  "disabled": false,
                  "description": "Unique id of this request, also returned as `requestId` in every error body. Quote it when you\ncontact support. When you send your own `X-Request-Id` (8-128 characters of `A-Z a-z 0-9 . _ : -`)\nit is echoed back. Otherwise the server generates a UUID.\n",
                  "key": "X-Request-Id",
                  "value": "9607f3c4-ecc9-4321-a3ff-e67040e85dfe"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"message\": \"Internal server error\",\n  \"code\": \"INTERNAL_ERROR\",\n  \"requestId\": \"9607f3c4-ecc9-4321-a3ff-e67040e85dfe\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "// Default create-tracking expiration: 23 hours from now, epoch milliseconds (test keys accept at most 24 h).",
          "pm.variables.set(\"expDate\", Date.now() + 23 * 60 * 60 * 1000);"
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.load-market.com/v1",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string",
      "description": "Partner key (x-api-key). Never commit a real key."
    },
    {
      "key": "clientKey",
      "value": "",
      "type": "string",
      "description": "Organization client key (x-api-client-key) from Settings > API Key in the Load Market web app."
    },
    {
      "key": "trackingId",
      "value": "",
      "type": "string",
      "description": "Set automatically by \"Create a tracking\"."
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "info": {
    "_postman_id": "90d9199d-0080-420b-827b-be9f733238f1",
    "name": "Load Market Tracking API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Track truck drivers by phone number or by the carrier's ELD, get live locations, stop ETAs and signed webhooks.\n\nDocs: https://developers.load-market.com\n\nSet the `apiKey` (partner key, use your test key first) and `clientKey` (Settings > API Key in the Load Market web app, https://app.load-market.com) collection variables before sending requests."
  }
}
