{"_id":"@fillout/api","_rev":"14-492ad1ecdb03d1e5b8d459323d99dc6b","name":"@fillout/api","dist-tags":{"latest":"1.5.0"},"versions":{"1.0.0":{"name":"@fillout/api","version":"1.0.0","license":"MIT","_id":"@fillout/api@1.0.0","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"}],"dist":{"shasum":"f7e92ee32673814ff774b614b15696a9b9b29270","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.0.0.tgz","fileCount":9,"integrity":"sha512-LTwIif1AXZjVpWgnqsKl7893eF5x5X1EC5WxIYoBTSpZKWbEWuv7HsP0rgkc/pxt4QessqGGYUfRNhZF8V2Qfw==","signatures":[{"sig":"MEUCICX1HWZXudCi75RDFCtCED7GXf15Zx/xdI9YNS+9PdehAiEA7r/kt6QMfnpijEi3f5HfUUw5nNOUDb2mrmoqyz8LayA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18885},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"bf5a31667d394bd11bde24b3792574c8624246a8","scripts":{"build":"tsc"},"_npmUser":{"name":"xkcdstickfigure","email":"archie@abaer.dev"},"_npmVersion":"10.5.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.0.0_1740538311094_0.44770050352911595","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@fillout/api","version":"1.1.0","license":"MIT","_id":"@fillout/api@1.1.0","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"}],"dist":{"shasum":"65eb1e6de2f712b71a13bb2e40dddb5439c927bd","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.1.0.tgz","fileCount":9,"integrity":"sha512-0vZ+UKwOyVBOyDHus4MBxNMw73FdHBm3WmsSieYWi0Odmdjayo9FlMspJ9O1nQcAEk8KsQaqIxcYz8GwFhH6TA==","signatures":[{"sig":"MEQCICcJkh3/a8XxKslBb8DroC0+8n7Nmw+TfP8jBXi2ZmAZAiBWBkQD61ErFISCMHdYsbaoby2aCVDUE7B3f1zhz9wNdw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18885},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"bf5a31667d394bd11bde24b3792574c8624246a8","scripts":{"build":"tsc"},"_npmUser":{"name":"xkcdstickfigure","email":"archie@abaer.dev"},"_npmVersion":"10.5.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.1.0_1740595115167_0.3623212227169019","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@fillout/api","version":"1.2.0","license":"MIT","_id":"@fillout/api@1.2.0","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"}],"dist":{"shasum":"440ad11ce180bb9ff55de158faf93ddd9aa5240c","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.2.0.tgz","fileCount":9,"integrity":"sha512-DIOT2RslKbTv5ULV6R4l24ZxlY0rzBeRdzhz0uilh36yI3I/Vfvnz9bAfeC4G+srkRW6GFfxiGeHQKJDw2QOAQ==","signatures":[{"sig":"MEUCIGT2MgfQM9+YVhtYmIc6nW99jedi+/XBngKBrKQmsvz+AiEAlUxzR9y1Wn148J1hpnbTpnk7e9SrvT78rtjcg2jW/HM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18899},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4c12d6ac2f5ec1de683a261a067beb796fc301b7","scripts":{"build":"tsc"},"_npmUser":{"name":"xkcdstickfigure","email":"archie@abaer.dev"},"_npmVersion":"10.5.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.2.0_1740689805265_0.5555057537632793","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@fillout/api","version":"1.2.1","license":"MIT","_id":"@fillout/api@1.2.1","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"}],"dist":{"shasum":"e6553f9a927264e06cda1413b88fe2eca050d5c7","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.2.1.tgz","fileCount":9,"integrity":"sha512-xkShY0WkdUd7CN7Titz+iOqhUW96gaikLenl3VLMb9RmepblkL5aCeSI0DRDOLcGzRaIfG/CvAt++o75hsy8Ew==","signatures":[{"sig":"MEQCIEGQ4ooAyPmJ8n6wGbBoVAW7uha7zNe3CELqzhlNATkHAiAVgsSAIqDbSILxoKzLFku2+KJ5kaLhjstosdo9VXng2Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19019},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f9f174b3487dfbee83a31f00443e42e556ee9098","scripts":{"build":"tsc"},"_npmUser":{"name":"xkcdstickfigure","email":"archie@abaer.dev"},"_npmVersion":"10.5.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.2.1_1740881855855_0.9861415180328506","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@fillout/api","version":"1.2.2","license":"MIT","_id":"@fillout/api@1.2.2","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"},{"name":"antonytoron","email":"antony.toron@gmail.com"}],"dist":{"shasum":"1e6e7af0bccd281f22da79b5ecf3dada3d3d226f","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.2.2.tgz","fileCount":3,"integrity":"sha512-Igp7PAnqMT961//6iHEUNqfdSLJcOVSHBAI6T1JhvyNAfwIZ1U7k0SXrduqQ3leEUSGmQ33zER/QmWsu0tjt+A==","signatures":[{"sig":"MEUCIQDQavMPLBTrkYiBQrT1B9Ix1Pfhqsf3wPTZaTLblbFf6AIgDlFdU2iSO8GBcju5anWuSWcE08QCEENoKYUkMLFjtxM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3431},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3d8f7e5c7772d0f88b4bf6d13930dad25d5c4433","scripts":{"build":"tsc"},"_npmUser":{"name":"antonytoron","email":"antony.toron@gmail.com"},"_npmVersion":"10.8.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.2.2_1744927809342_0.23529296887557272","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@fillout/api","version":"1.2.3","license":"MIT","_id":"@fillout/api@1.2.3","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"},{"name":"antonytoron","email":"antony.toron@gmail.com"}],"dist":{"shasum":"8ba40755784a045c7154678f8c35ce5f0230837d","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.2.3.tgz","fileCount":9,"integrity":"sha512-1I41L8PFCALA4KjoBJMMhHjBJmkNvTCz6w1S9Tg6C93B5GW2cWhmcue7qaHW4625O2aBEnxL7r67eMr7eIDaXA==","signatures":[{"sig":"MEQCIDfenxs+znRHIRTMgVcHKZX8Y/Op28VI0Cwda89jNkzhAiBhd/7dcD7gt43B5RvPHsEyKrcG5qSooVLKiX+klYDUdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19168},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"10d11c75ae311eccf471e2f8435148ebdf66d622","scripts":{"build":"tsc"},"_npmUser":{"name":"antonytoron","email":"antony.toron@gmail.com"},"_npmVersion":"10.8.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.2.3_1744928050481_0.44503331630452925","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@fillout/api","version":"1.3.0","license":"MIT","_id":"@fillout/api@1.3.0","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"},{"name":"antonytoron","email":"antony.toron@gmail.com"}],"dist":{"shasum":"7d0c505ad1d451d7683997d400ce250bfc85a6f7","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.3.0.tgz","fileCount":9,"integrity":"sha512-90P0LFEvrw/f3bW3vR72g2YBAlb46KNimCtXEvZukphYp+UtvsUcKtpx0Y8ZA3jbUDO509yBMYHcp1dimVEdlA==","signatures":[{"sig":"MEQCIF1P2idDmd6TQBqaswcNm8fSgjVPNFQyhlGLIWn/X9ocAiBWlPwYm94XEoCvr7KF05jiGvjzXNbEI9+NdbAZZP9yJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19325},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"98c6f24b4abf8ebfa048ae49c54d3805a5bd562d","scripts":{"build":"tsc"},"_npmUser":{"name":"antonytoron","email":"antony.toron@gmail.com"},"_npmVersion":"10.8.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.3.0_1745333529291_0.9300985825065067","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@fillout/api","version":"1.4.0","license":"MIT","_id":"@fillout/api@1.4.0","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"},{"name":"antonytoron","email":"antony.toron@gmail.com"}],"dist":{"shasum":"aecc173c87cc93df8341632325058be16dd5e0cf","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.4.0.tgz","fileCount":7,"integrity":"sha512-1nvI1ddfXH/sPi+ZQfbxFReqTZREOa1Hf08MlJoZn2mIu3KgrhUs/ynEL8EM3QNLuPXn99oqygGboIPrtKoOig==","signatures":[{"sig":"MEYCIQCtODCOQt0CZEsF35ITnD9E9dmU4ywjndlbB3DhhnEwxAIhAMUv9/1hTEZvjs5kwOxLeJsndUM29dZjhfhyAW9j/ne7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33257},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"cfd71098d13b79dc8a8e3c1e9f8266bc4b99d577","scripts":{"build":"tsup"},"_npmUser":{"name":"antonytoron","email":"antony.toron@gmail.com"},"_npmVersion":"10.8.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.4.0_1745526217624_0.8760770846680754","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@fillout/api","version":"1.5.0","license":"MIT","_id":"@fillout/api@1.5.0","maintainers":[{"name":"xkcdstickfigure","email":"archie@abaer.dev"},{"name":"dominicwhyte","email":"dwhyte@alumni.princeton.edu"},{"name":"antonytoron","email":"antony.toron@gmail.com"},{"name":"danteissaias","email":"dante@issaias.com"}],"dist":{"shasum":"0abbe850ab3ad94da386fe283e182682ae94bebd","tarball":"https://registry.npmjs.org/@fillout/api/-/api-1.5.0.tgz","fileCount":8,"integrity":"sha512-Jhupc7oEjxcA9k4vdEItO9O+dirs8T/jPcsyNC4vErTMe+fI0r0h1mAQI/G2cx5ul9ub7BdgYGmKIqeeoxNrxw==","signatures":[{"sig":"MEUCIQCYKUG5A1rJcOEeq8vj5OOQw2qhlBKgzrHBjyiG4YiurwIgTwYb5cbPr7ke+lT44noLcNZ3+GvrqOyTuGiSZPZBLxE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34399},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4bbe102ed13e2c21b23a52cd4facc9232db025e5","scripts":{"build":"tsup"},"_npmUser":{"name":"antonytoron","email":"antony.toron@gmail.com"},"_npmVersion":"10.8.2","description":"Client for the Fillout API","directories":{},"_nodeVersion":"20.19.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/api_1.5.0_1746450277944_0.4679999535819659","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-02-26T02:51:51.008Z","modified":"2026-04-20T23:17:38.690Z","1.0.0":"2025-02-26T02:51:51.278Z","1.1.0":"2025-02-26T18:38:35.338Z","1.2.0":"2025-02-27T20:56:45.426Z","1.2.1":"2025-03-02T02:17:36.041Z","1.2.2":"2025-04-17T22:10:09.544Z","1.2.3":"2025-04-17T22:14:10.777Z","1.3.0":"2025-04-22T14:52:09.468Z","1.4.0":"2025-04-24T20:23:37.885Z","1.5.0":"2025-05-05T13:04:38.149Z"},"license":"MIT","description":"Client for the Fillout API","maintainers":[{"email":"dwhyte@alumni.princeton.edu","name":"dominicwhyte"},{"email":"marco@fillout.com","name":"marwhyte"},{"email":"antony.toron@gmail.com","name":"antonytoron"}],"readme":"<p align=\"center\">\n    <img width=\"96\" height=\"96\" src=\"https://static.fillout.com/logos/fillout-icon.png\" alt=\"Fillout logo\">\n</p>\n\n<h1 align=\"center\">\n  Fillout API Client\n</h1>\n\n<p align=\"center\">\n  TypeScript SDK for accessing forms and submissions 🚀\n</p>\n\n<br /><br />\n\n## Connecting to the API\n\n```js\nimport { Fillout } from \"@fillout/api\"\n\nconst fillout = new Fillout(FILLOUT_API_KEY)\n```\n\nYou can generate an API key for your organization at https://build.fillout.com/home/settings/developer. It should start with `sk_prod_`.\nDon't save secret keys in your code - use an environmental variable instead.\n\nIf you're on an Enterprise plan and you have Fillout submissions hosted in a different region, you'll need to use the `region` option, like so:\n\n```js\nconst fillout = new Fillout(FILLOUT_API_KEY, { region: \"eu\" })\n```\n\nThe values currently available are `us` (default), `eu` and `ca`. Check the base URL in your developer settings.\n\n## Get started with these examples\n\nPrint a list of questions in a form:\n\n```js\nconst forms = await fillout.getForms()\n\nconst formName = \"Fillout SDK\"\nconst formId = forms.find((f) => f.name === formName)?.formId\nif (!formId) throw new Error(\"Missing form\")\n\nconst form = await fillout.getForm(formId)\n\nconsole.log(`Questions available in ${formName}:\n\n${form.questions.map((question) => `${question.name} (${question.type})`).join(\"\\n\")}`)\n```\n\nGet the ten most recent submissions of a form:\n\n```js\nconst submissions = await fillout.getSubmissions(\"foAdHjd1Duus\", {\n  includePreview: true,\n  limit: 10,\n  sort: \"desc\",\n})\n```\n\n## Documentation\n\nTo find out what you can do, take a look at our [API documentation](https://www.fillout.com/help/fillout-rest-api).\nThis package also has TypeScript and JSDoc comments, so you should get some helpful hints in your editor :)\n\nIf you're looking to embed Fillout in a React project, try [@fillout/react](https://npmjs.org/package/@fillout/react)!\n","readmeFilename":"README.md"}