{
  "opencollection": "1.0.0",
  "info": {
    "name": "Inkit Document Generation Batches Documents API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Inkit-API-Token",
      "value": "{{X-Inkit-API-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.inkit.com/v1/document",
            "params": [
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search term to filter documents"
              }
            ]
          },
          "docs": "Returns a list of stored documents."
        },
        {
          "info": {
            "name": "Get Document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.inkit.com/v1/document/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Returns a single document by ID."
        },
        {
          "info": {
            "name": "Delete Document",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.inkit.com/v1/document/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Deletes a document by ID."
        },
        {
          "info": {
            "name": "Download Document",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.inkit.com/v1/download/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Downloads a document as a PDF file."
        }
      ]
    }
  ],
  "bundled": true
}