{
  "info": {
    "_postman_id": "d0e6bdcb-52b0-5d7f-a25c-f5e7cab10cb4",
    "name": "ACORD 25 Data Extraction & COI Verification",
    "description": "Verify a certificate against your requirements — and get told plainly when a value could not be read.\n\nhttps://aerviklabs.com/apis/coi-verification/\n\nSubscribe to the free BASIC plan on RapidAPI: https://rapidapi.com/aervik-labs-aervik-labs-default/api/certificate-of-insurance-verification-compliance-check-api\n\nSet RAPIDAPI_KEY in the Aervik Labs environment (https://aerviklabs.com/postman/aervik-labs.postman_environment.json) to your RapidAPI key. OpenAPI document: https://aerviklabs.com/openapi/coi-verification.json\n\nThis collection is available under the MIT License (Copyright (c) 2026 EAC Ventures, LLC). Use of the API itself is governed by its Terms of Service, not by that license.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Extract a certificate and check it against your coverage requirements",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-RapidAPI-Host",
            "value": "certificate-of-insurance-verification-compliance-check-api.p.rapidapi.com"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file_url\": \"https://aerviklabs.com/research/coi-honesty-test/trap4-illegible-expiration.png\",\n  \"requirements\": {\n    \"general_liability\": {\n      \"each_occurrence_min\": 1000000,\n      \"personal_adv_injury_min\": 1000000\n    },\n    \"min_days_until_expiration\": 30\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/verify",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "verify"
          ]
        },
        "description": "`POST /verify`\n\nExample values from https://aerviklabs.com/apis/coi-verification/."
      },
      "response": []
    },
    {
      "name": "Extract a certificate of insurance (ACORD 25) into structured fields",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-RapidAPI-Host",
            "value": "certificate-of-insurance-verification-compliance-check-api.p.rapidapi.com"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/parse",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "parse"
          ]
        },
        "description": "`POST /parse`\n\nhttps://aerviklabs.com/apis/coi-verification/ has no example for this request: fill in the empty values before sending."
      },
      "response": []
    },
    {
      "name": "Save a named coverage-requirements profile and get back its id",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "type": "text/javascript",
            "exec": [
              "// Clear the previous capture even if this request receives no response.",
              "pm.collectionVariables.set('requirementsId', '');"
            ]
          }
        },
        {
          "listen": "test",
          "script": {
            "type": "text/javascript",
            "exec": [
              "if (pm.response.code === 201) {",
              "  try {",
              "    const id = pm.response.json()?.id;",
              "    if (typeof id === 'string' && id.trim().length > 0) {",
              "      pm.collectionVariables.set('requirementsId', id);",
              "    }",
              "  } catch {",
              "    // Invalid JSON leaves the capture empty; inspect the response before retrying.",
              "  }",
              "}"
            ]
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-RapidAPI-Host",
            "value": "certificate-of-insurance-verification-compliance-check-api.p.rapidapi.com"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"general_liability\": {\n    \"each_occurrence_min\": 1000000,\n    \"personal_adv_injury_min\": 1000000\n  },\n  \"min_days_until_expiration\": 30\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/requirements",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "requirements"
          ]
        },
        "description": "`POST /requirements`\n\nBody built from the POST /verify example on the product page."
      },
      "response": []
    },
    {
      "name": "Fetch a saved coverage-requirements profile by id",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-RapidAPI-Host",
            "value": "certificate-of-insurance-verification-compliance-check-api.p.rapidapi.com"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/requirements/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "requirements",
            ":id"
          ],
          "variable": [
            {
              "key": "id",
              "value": "{{requirementsId}}",
              "description": "The id returned when the profile was saved"
            }
          ]
        },
        "description": "`GET /requirements/{id}`\n\n`id` is filled in from the response to POST /requirements; send that request first."
      },
      "response": []
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "X-RapidAPI-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{RAPIDAPI_KEY}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://certificate-of-insurance-verification-compliance-check-api.p.rapidapi.com",
      "type": "string"
    },
    {
      "key": "requirementsId",
      "value": "",
      "type": "string",
      "description": "Set by the test script of POST /requirements from the id it returns."
    }
  ]
}
