{
  "opencollection": "1.0.0",
  "info": {
    "name": "api-onboarding Account Usage Documents API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/onboarding/v1/forms/:form_id/documents",
            "params": [
              {
                "name": "form_id",
                "value": "",
                "type": "path",
                "description": "Form UUID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Returns the uploaded documents for the specified application form."
        },
        {
          "info": {
            "name": "Create Document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/onboarding/v1/forms/:form_id/documents",
            "params": [
              {
                "name": "form_id",
                "value": "",
                "type": "path",
                "description": "Form UUID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Adds a validation document to the specified form. For more information on uploading documents, see <a href=\"../guides/integration-guides/onboarding-api-pilot/#uploading-documents\">our guide.</a>"
        },
        {
          "info": {
            "name": "Delete Document",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/onboarding/v1/forms/:form_id/documents/:document_id",
            "params": [
              {
                "name": "form_id",
                "value": "",
                "type": "path",
                "description": "Form UUID"
              },
              {
                "name": "document_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a document attached to the specified application form."
        }
      ]
    }
  ],
  "bundled": true
}