{
  "opencollection": "1.0.0",
  "info": {
    "name": "Formstack Confirmations Forms API",
    "version": "2025"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://www.formstack.com/api/v2/oauth2/authorize",
      "accessTokenUrl": "https://www.formstack.com/api/v2/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Forms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List forms",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.formstack.com/api/v2/forms.json",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "folder",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List forms"
        },
        {
          "info": {
            "name": "Create a form",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.formstack.com/api/v2/forms.json"
          },
          "docs": "Create a form"
        },
        {
          "info": {
            "name": "Get form",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.formstack.com/api/v2/form/:formId.json",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get form"
        },
        {
          "info": {
            "name": "Update form",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://www.formstack.com/api/v2/form/:formId.json",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update form"
        },
        {
          "info": {
            "name": "Delete form",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://www.formstack.com/api/v2/form/:formId.json",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete form"
        },
        {
          "info": {
            "name": "Get form HTML",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.formstack.com/api/v2/form/:formId/html.json",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get form HTML"
        },
        {
          "info": {
            "name": "Copy form",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.formstack.com/api/v2/form/:formId/copy.json",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Copy form"
        },
        {
          "info": {
            "name": "Generate prefilled URL",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.formstack.com/api/v2/form/:formId/prefill.json",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Generate prefilled URL"
        }
      ]
    }
  ],
  "bundled": true
}