{
  "opencollection": "1.0.0",
  "info": {
    "name": "Accurate Background Adjudication Documents API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.accuratebackground.com/v3/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.accuratebackground.com/v3/order/:id/document",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Upload a supporting document to an order. Supports PDF, JPG, PNG, DOC, and DOCX up to 15MB."
        },
        {
          "info": {
            "name": "Retrieve documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.accuratebackground.com/v3/order/:id/documents",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List the documents attached to an order."
        },
        {
          "info": {
            "name": "Get document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.accuratebackground.com/v3/document/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get document"
        },
        {
          "info": {
            "name": "Delete document",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.accuratebackground.com/v3/document/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete document"
        },
        {
          "info": {
            "name": "Download document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.accuratebackground.com/v3/document/:id/download",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Download document"
        }
      ]
    }
  ],
  "bundled": true
}