{
  "opencollection": "1.0.0",
  "info": {
    "name": "LinkSquares Account Attachments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Attachments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Add an additional attachment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.linksquares.com/api/analyze/v1/agreements/:agreement_id/attachments",
            "params": [
              {
                "name": "agreement_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UUID) of the agreement."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds an additional attachment to an agreement. Confirmed (v1)."
        },
        {
          "info": {
            "name": "List additional attachments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linksquares.com/api/analyze/v2/agreements/:agreement_id/attachments",
            "params": [
              {
                "name": "agreement_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UUID) of the agreement."
              }
            ]
          },
          "docs": "Retrieves the additional attachments on an agreement. Confirmed (v2)."
        },
        {
          "info": {
            "name": "Download an attachment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linksquares.com/api/analyze/v2/agreements/:agreement_id/attachments/:attachment_id/download",
            "params": [
              {
                "name": "agreement_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier (UUID) of the agreement."
              },
              {
                "name": "attachment_id",
                "value": "",
                "type": "path",
                "description": "The identifier of the attachment."
              }
            ]
          },
          "docs": "Downloads a single attachment on an agreement. Confirmed (v2)."
        }
      ]
    }
  ],
  "bundled": true
}