{
  "item": [
    {
      "id": "a1f0c2d4-1111-4a01-9b01-aa0000000001",
      "name": "Authentication",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a1f0c2d4-1111-4a01-9b01-aa0000000002",
          "name": "Authenticate and obtain a bearer token.",
          "request": {
            "name": "Authenticate and obtain a bearer token.",
            "description": {
              "content": "Exchanges account email and password for a JWT bearer token valid for 120 minutes. The request must originate from an IP address registered with ClearVIN.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "rest",
                "vendor",
                "login"
              ],
              "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  \"email\": \"<string>\",\n  \"password\": \"<string>\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "id": "a1f0c2d4-1111-4a01-9b01-aa0000000003",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "rest",
                    "vendor",
                    "login"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "POST",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"you@example.com\",\n  \"password\": \"yourpassword\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"ok\",\n  \"token\": \"string\"\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "a1f0c2d4-2222-4a01-9b01-aa0000000004",
      "name": "Report",
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "a1f0c2d4-2222-4a01-9b01-aa0000000005",
          "name": "Retrieve a vehicle report by VIN.",
          "request": {
            "name": "Retrieve a vehicle report by VIN.",
            "description": {
              "content": "Returns a vehicle report for the supplied VIN. Depending on the account subscription the report contains VIN decode specifications, NMVTIS title and history data, and/or market valuation. Pass format=html for an HTML rendering. Requires a valid bearer token from /rest/vendor/login.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "rest",
                "vendor",
                "report"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "key": "vin",
                  "value": "5UXFA13544LU21050",
                  "description": "(Required) The 17-character Vehicle Identification Number to look up."
                },
                {
                  "key": "format",
                  "value": "html",
                  "disabled": true,
                  "description": "Set to html for an HTML rendering; omit for JSON."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "auth": null
          },
          "response": [
            {
              "id": "a1f0c2d4-2222-4a01-9b01-aa0000000006",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "rest",
                    "vendor",
                    "report"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "vin",
                      "value": "5UXFA13544LU21050"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "description": {
                      "content": "Added as a part of security scheme: bearer",
                      "type": "text/plain"
                    },
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"ok\",\n  \"result\": {\n    \"id\": \"string\",\n    \"vin\": \"string\",\n    \"report\": {\n      \"decoder\": {},\n      \"nmvtis\": {},\n      \"valuation\": {}\n    }\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [],
  "variable": [
    {
      "type": "string",
      "value": "https://www.clearvin.com",
      "key": "baseUrl"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}"
      }
    ]
  },
  "info": {
    "_postman_id": "a1f0c2d4-0000-4a01-9b01-aa0000000000",
    "name": "ClearVIN Vendor API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "REST API for ClearVIN's VIN decoding and vehicle history data. Authenticate at /rest/vendor/login for a 120-minute JWT, then request vehicle reports by VIN from /rest/vendor/report.\n\nContact: ClearVIN\n URL: https://www.clearvin.com/en/contact/",
      "type": "text/plain"
    }
  }
}
