# Filecheck - [Introduction](https://filecheck.io/docs/index.md): Filecheck is a real-time preflight, validation, and policy layer for file uploads. Automatically inspect, auto-correct, and proof PDFs, images, and documents before they ever reach your storage. - [Quickstart](https://filecheck.io/docs/quickstart.md): How to sign up, connect your e-commerce store, and start gating and auto-fixing uploads in under 10 minutes. - [WordPress / WooCommerce installation](https://filecheck.io/docs/tutorials/wordpress-installation.md): Install the Filecheck plugin, add your keys, and gate add-to-cart on file validation. - [Shopify installation](https://filecheck.io/docs/tutorials/shopify-installation.md): Install the Filecheck app, map a workflow to a product, and gate add-to-cart. No keys, no code. - [PrestaShop installation](https://filecheck.io/docs/tutorials/prestashop-installation.md): Install the Filecheck module and require validated uploads on product pages. - [OpenCart installation](https://filecheck.io/docs/tutorials/opencart-installation.md): Install the Filecheck module and require validated uploads on product pages. - [Building blocks](https://filecheck.io/docs/concepts/building-blocks.md): The objects that power Filecheck: Rules, Preflight Profiles, Workflows, Jobs, and Optimization Presets; and how they fit together. - [Workflows](https://filecheck.io/docs/concepts/workflows.md): A Workflow is the automated fulfillment stream a file travels through — combining intake, soft-proofing, trigger events, and downstream processing steps. - [Jobs](https://filecheck.io/docs/concepts/jobs.md): A Job is a single execution run of one or more files through Filecheck. Gate checkout on the job's canProceed flag. - [Remediation](https://filecheck.io/docs/concepts/remediation.md): Filecheck prefers fixing files over rejecting them. What gets auto-corrected on ingestion. - [Soft-proofing](https://filecheck.io/docs/concepts/soft-proofing.md): Let customers approve automated changes before they proceed. How the proof gate works. - [3D Proofs](https://filecheck.io/docs/concepts/3d-proofs.md): Show customers their artwork on the product, such as a mug, a folded leaflet, a booklet or a business card, and let them approve it there. - [Admin guide](https://filecheck.io/docs/configuration/overview.md): How the Filecheck admin is organized, and how to configure each part — profiles, rules, workflows, jobs, and presets. - [Create a Preflight Profile](https://filecheck.io/docs/configuration/preflight.md): Build a reusable set of checks that decide whether an uploaded file is print-ready — and what to do when it isn't. - [Page Checks](https://filecheck.io/docs/configuration/preflight/page-checks.md): Geometry checks in a PDF preflight profile — page count, size, orientation, bleed, trim, safety margins, rotation, and layout. - [Colors](https://filecheck.io/docs/configuration/preflight/color.md): Color checks in a PDF preflight profile — color mode, ink coverage, spot colors, ICC/output intent, rich black, and overprint. - [Fonts, Text & Strokes](https://filecheck.io/docs/configuration/preflight/fonts-text.md): Font and text checks in a PDF preflight profile — embedding, subsetting, minimum sizes, stroke widths, outlining, and safe zones. - [Images](https://filecheck.io/docs/configuration/preflight/images.md): Image checks in a PDF preflight profile — effective resolution, compression, color space, and bit depth of images placed inside the PDF. - [PDF Structure](https://filecheck.io/docs/configuration/preflight/pdf-structure.md): Structural and content-integrity checks in a PDF preflight profile — transparency, layers, interactivity, security, versions, and print standards. - [Page Rules](https://filecheck.io/docs/configuration/preflight/page-rules.md): Per-page overrides in a PDF preflight profile — apply different checks to specific pages, like covers vs. interior. - [Raster Checks](https://filecheck.io/docs/configuration/preflight/raster.md): The full check set for a Raster preflight profile — for standalone image uploads like JPEG, PNG, and TIFF. - [Create a Rule](https://filecheck.io/docs/configuration/upload-rules.md): A Rule is the intake gate — what customers may upload, how many files, and how each file is checked while they wait. - [Build a Workflow](https://filecheck.io/docs/configuration/workflows.md): Assemble the pipeline a file travels through — intake while the customer waits, then processing once a trigger fires. - [Jobs & output](https://filecheck.io/docs/configuration/jobs.md): Every file run produces a Job. Where to find results, and how to run a one-off preflight, validation, or optimization. - [Create an Optimization Preset](https://filecheck.io/docs/configuration/presets.md): A reusable transform that forces a PDF or Raster file into a target shape — independent of preflight. - [3D Scenes](https://filecheck.io/docs/configuration/3d-scenes.md): Build the product a 3D Proof shows the artwork on: a 3D model, a folded leaflet, a booklet or a flat sheet. - [Configure a Connector](https://filecheck.io/docs/configuration/connectors.md): Map facts Filecheck derives from a file onto your product page's own controls — no custom code. - [Supported languages](https://filecheck.io/docs/specifications/languages.md): The 75 languages the customer-facing Filecheck experience can be displayed in. - [Supported file types](https://filecheck.io/docs/specifications/file-types.md): The file categories Filecheck can accept, check, fix, and convert. - [Changelog](https://filecheck.io/docs/reference/changelog.md): Notable changes to the Filecheck Element and API. - [The Element Overview](https://filecheck.io/docs/element/overview.md): What the Filecheck Element is, how it works, and how it handles real-time file preflight and gating. - [Installation](https://filecheck.io/docs/element/installation.md): Load the Filecheck Element from the CDN, handle async loading, and size the mount point. - [Create & mount](https://filecheck.io/docs/element/create-and-mount.md): The Filecheck factory, the intake element, its create options, and its methods. - [Events](https://filecheck.io/docs/element/events.md): Subscribe to the Element lifecycle: ready, status, facts, ui, error, proof, scene, and destroy. - [Presentation & Filecheck.mount](https://filecheck.io/docs/element/presentation.md): Choose inline or dialog presentation, or use Filecheck.mount for zero-JS plugin integration. - [Connectors](https://filecheck.io/docs/element/connectors.md): Sync file facts (page count, dimensions) onto your product-page controls without custom code. - [Product customizers](https://filecheck.io/docs/element/customizers.md): Share a product page with a design tool, so shoppers can either upload a finished file or design one, and Add to cart works for both. - [WooCommerce](https://filecheck.io/docs/integrations/woocommerce.md): Gate add-to-cart on file validation in WooCommerce, and attach the checked file to the order. - [Shopify](https://filecheck.io/docs/integrations/shopify.md): Add the Filecheck Element to a Shopify product page with a theme app extension, line item properties and cart attributes. - [OpenCart & PrestaShop](https://filecheck.io/docs/integrations/opencart-prestashop.md): The shared front-end snippet for OpenCart, PrestaShop, and any other CMS. - [Element on a custom stack](https://filecheck.io/docs/tutorials/api-integration.md): No plugin for your platform? Embed the Filecheck Element directly, gate your submit button, and verify the job server-side. - [Headless API integration](https://filecheck.io/docs/integrations/headless.md): Submit files straight to POST /jobs — no widget — and collect results synchronously, by polling, or by webhook. - [Official libraries](https://filecheck.io/docs/integrations/libraries.md): Typed packages for JavaScript, React, Vue, Node.js, and PHP, plus an MCP server for AI agents — the fastest way to integrate Filecheck on a custom stack. - [JavaScript](https://filecheck.io/docs/integrations/filecheck-js.md): The filecheck-js loader — typed, promise-based Element loading plus every shared TypeScript type. - [React](https://filecheck.io/docs/integrations/react.md): Embed the Element in React with the FilecheckIntake component, gate submit on canProceed, and capture the jobId. - [Vue](https://filecheck.io/docs/integrations/vue.md): Embed the Element in Vue 3 with the FilecheckIntake component, v-model the jobId, and gate submit on canProceed. - [Node.js](https://filecheck.io/docs/integrations/node.md): The filecheck-node server SDK — verify jobs before fulfilling, upload and process files, and handle webhooks. - [PHP](https://filecheck.io/docs/integrations/php.md): The filecheck/filecheck-php server SDK — verify jobs before fulfilling, upload and process files, and handle webhooks. - [MCP server](https://filecheck.io/docs/integrations/mcp.md): Connect Claude, Cursor, or any MCP client to Filecheck — check, fix, validate, and optimize print files from an AI agent. - [Verify jobs](https://filecheck.io/docs/server/verify-jobs.md): Use your secret key to fetch a job server-side and download the fixed output file. - [Webhooks](https://filecheck.io/docs/server/webhooks.md): Receive job results as they happen instead of polling the API. - [Status payload](https://filecheck.io/docs/reference/status-payload.md): The shape of the status event. Gate your submit button on canProceed. - [Facts](https://filecheck.io/docs/reference/facts.md): File measurements emitted alongside every status event. Dimensions are in millimetres. - [Errors & common mistakes](https://filecheck.io/docs/reference/errors.md): The error event, plus the integration mistakes that trip people up most often. - [API overview](https://filecheck.io/docs/api-reference/introduction.md): Base URL, authentication, and conventions for the Filecheck REST API. - [Authentication](https://filecheck.io/docs/api-reference/authentication.md): Publishable keys run in the browser, secret keys run on your server. How Filecheck keys and scopes work. - [Official libraries](https://filecheck.io/docs/integrations/libraries.md): Typed packages for JavaScript, React, Vue, Node.js, and PHP, plus an MCP server for AI agents — the fastest way to integrate Filecheck on a custom stack. - [Submit a job](https://filecheck.io/docs/api-reference/jobs/submit-a-job.md): Canonical job submission. Each entry in `sources[]` is one source file plus the ordered `steps[]` to run on it, unless `ruleId`, `workflowId` or `previewWorkflow` decides the steps: then the files go through that intake, as on the storefront. Draft rules and workflows work too, and `previewWorkflow`… - [List jobs](https://filecheck.io/docs/api-reference/jobs/list-jobs.md) - [Get a job](https://filecheck.io/docs/api-reference/jobs/get-a-job.md): Returns the full Job with child Tasks and steps. Use `?expand=runs` for a flattened per-file summary with proof and download URLs. - [Delete a job](https://filecheck.io/docs/api-reference/jobs/delete-a-job.md) - [Preflight a file](https://filecheck.io/docs/api-reference/jobs/preflight-a-file.md): Sugar wrapper. Runs a preflight-only job. Async (201) by default; `sync: true` waits for the result. - [Fix a file](https://filecheck.io/docs/api-reference/jobs/fix-a-file.md): Sugar wrapper for preflight + autofix, plus an optional re-preflight when `repreflight: true`. Async (201) by default. - [Optimize a file](https://filecheck.io/docs/api-reference/jobs/optimize-a-file.md): Sugar wrapper. Runs an optimize-only job. Async (201) by default; `sync: true` waits for the result. - [Validate a file](https://filecheck.io/docs/api-reference/jobs/validate-a-file.md): Sugar wrapper. Validates a file against one or more PDF/A or PDF/UA conformance levels. Sync by default; set `async: true` to return 201 immediately. - [Generate previews](https://filecheck.io/docs/api-reference/jobs/generate-previews.md): Sugar wrapper. Renders preview images for a file. Async (201) by default; `sync: true` waits for the result. - [Create an upload](https://filecheck.io/docs/api-reference/uploads/create-an-upload.md): Mints presigned S3 POST credentials so a client can upload a large file directly (up to 500 MB). Returns a `fileRef` usable as a job source. Credentials expire in 300 seconds. - [Capture an order](https://filecheck.io/docs/api-reference/orders/capture-an-order.md): Records a commerce order and links its line items (and their Filecheck `jobId`s) to the caller. Currently shaped for WooCommerce (`source: "wp"`). - [List workflows](https://filecheck.io/docs/api-reference/workflows/list-workflows.md): Your workflows merged with the built-in catalog. Each carries `source`: `domain` for yours (with `customized: true` when it is your copy of a catalog workflow), `store` for a catalog original. - [Get a workflow](https://filecheck.io/docs/api-reference/workflows/get-a-workflow.md): Your workflow first, then the built-in catalog. Your drafts are returned too, with `draft: true`. - [Create a workflow](https://filecheck.io/docs/api-reference/workflows/create-a-workflow.md): Creates a workflow. Records it points at must exist and be visible to you; a published workflow cannot point at a draft. - [Update a workflow](https://filecheck.io/docs/api-reference/workflows/update-a-workflow.md): A JSON Merge Patch (RFC 7396): send only what changes. Objects merge key by key, `null` removes a key, arrays replace the whole list. Patching a catalog workflow saves your own copy under the same id (`customized: true`), which you can undo with revert. - [Delete a workflow](https://filecheck.io/docs/api-reference/workflows/delete-a-workflow.md): Deleting a catalog workflow hides it from your account; deleting your own removes it (recoverable by support for 30 days); deleting a draft removes it at once. Refused with `in_use` while a published record or product still uses it. - [Publish a draft workflow](https://filecheck.io/docs/api-reference/workflows/publish-a-draft-workflow.md): Makes a draft live. Drafts it points at (a workflow's rule, a rule's profiles) are published with it; the response lists every id published. - [Revert to the catalog workflow](https://filecheck.io/docs/api-reference/workflows/revert-to-the-catalog-workflow.md): Drops your copy of a catalog workflow (or un-hides one you deleted), so the built-in version applies again. - [List rules](https://filecheck.io/docs/api-reference/rules/list-rules.md): Your rules merged with the built-in catalog. Each carries `source`: `domain` for yours (with `customized: true` when it is your copy of a catalog rule), `store` for a catalog original. - [Get a rule](https://filecheck.io/docs/api-reference/rules/get-a-rule.md): Your rule first, then the built-in catalog. Your drafts are returned too, with `draft: true`. - [Create a rule](https://filecheck.io/docs/api-reference/rules/create-a-rule.md): Creates a rule. Records it points at must exist and be visible to you; a published rule cannot point at a draft. - [Update a rule](https://filecheck.io/docs/api-reference/rules/update-a-rule.md): A JSON Merge Patch (RFC 7396): send only what changes. Objects merge key by key, `null` removes a key, arrays replace the whole list. Patching a catalog rule saves your own copy under the same id (`customized: true`), which you can undo with revert. - [Delete a rule](https://filecheck.io/docs/api-reference/rules/delete-a-rule.md): Deleting a catalog rule hides it from your account; deleting your own removes it (recoverable by support for 30 days); deleting a draft removes it at once. Refused with `in_use` while a published record or product still uses it. - [Publish a draft rule](https://filecheck.io/docs/api-reference/rules/publish-a-draft-rule.md): Makes a draft live. Drafts it points at (a workflow's rule, a rule's profiles) are published with it; the response lists every id published. - [Revert to the catalog rule](https://filecheck.io/docs/api-reference/rules/revert-to-the-catalog-rule.md): Drops your copy of a catalog rule (or un-hides one you deleted), so the built-in version applies again. - [List preflight profiles](https://filecheck.io/docs/api-reference/profiles/list-preflight-profiles.md): Your preflight profiles merged with the built-in catalog. Each carries `source`: `domain` for yours (with `customized: true` when it is your copy of a catalog preflight profile), `store` for a catalog original. - [Get a preflight profile](https://filecheck.io/docs/api-reference/profiles/get-a-preflight-profile.md): Your preflight profile first, then the built-in catalog. Your drafts are returned too, with `draft: true`. - [Create a preflight profile](https://filecheck.io/docs/api-reference/profiles/create-a-preflight-profile.md): Creates a preflight profile. Records it points at must exist and be visible to you; a published preflight profile cannot point at a draft. - [Update a preflight profile](https://filecheck.io/docs/api-reference/profiles/update-a-preflight-profile.md): A JSON Merge Patch (RFC 7396): send only what changes. Objects merge key by key, `null` removes a key, arrays replace the whole list. Patching a catalog preflight profile saves your own copy under the same id (`customized: true`), which you can undo with revert. - [Delete a preflight profile](https://filecheck.io/docs/api-reference/profiles/delete-a-preflight-profile.md): Deleting a catalog preflight profile hides it from your account; deleting your own removes it (recoverable by support for 30 days); deleting a draft removes it at once. Refused with `in_use` while a published record or product still uses it. - [Publish a draft preflight profile](https://filecheck.io/docs/api-reference/profiles/publish-a-draft-preflight-profile.md): Makes a draft live. Drafts it points at (a workflow's rule, a rule's profiles) are published with it; the response lists every id published. - [Revert to the catalog preflight profile](https://filecheck.io/docs/api-reference/profiles/revert-to-the-catalog-preflight-profile.md): Drops your copy of a catalog preflight profile (or un-hides one you deleted), so the built-in version applies again. - [List connectors](https://filecheck.io/docs/api-reference/connectors/list-connectors.md): Your connectors merged with the built-in catalog. Each carries `source`: `domain` for yours (with `customized: true` when it is your copy of a catalog connector), `store` for a catalog original. - [Get a connector](https://filecheck.io/docs/api-reference/connectors/get-a-connector.md): Your connector first, then the built-in catalog. Your drafts are returned too, with `draft: true`. - [Create a connector](https://filecheck.io/docs/api-reference/connectors/create-a-connector.md): Creates a connector. Records it points at must exist and be visible to you; a published connector cannot point at a draft. - [Update a connector](https://filecheck.io/docs/api-reference/connectors/update-a-connector.md): A JSON Merge Patch (RFC 7396): send only what changes. Objects merge key by key, `null` removes a key, arrays replace the whole list. Patching a catalog connector saves your own copy under the same id (`customized: true`), which you can undo with revert. - [Delete a connector](https://filecheck.io/docs/api-reference/connectors/delete-a-connector.md): Deleting a catalog connector hides it from your account; deleting your own removes it (recoverable by support for 30 days); deleting a draft removes it at once. Refused with `in_use` while a published record or product still uses it. - [Publish a draft connector](https://filecheck.io/docs/api-reference/connectors/publish-a-draft-connector.md): Makes a draft live. Drafts it points at (a workflow's rule, a rule's profiles) are published with it; the response lists every id published. - [Revert to the catalog connector](https://filecheck.io/docs/api-reference/connectors/revert-to-the-catalog-connector.md): Drops your copy of a catalog connector (or un-hides one you deleted), so the built-in version applies again. - [List optimize presets](https://filecheck.io/docs/api-reference/optimize-presets/list-optimize-presets.md): Your optimize presets merged with the built-in catalog. Each carries `source`: `domain` for yours (with `customized: true` when it is your copy of a catalog optimize preset), `store` for a catalog original. - [Get a optimize preset](https://filecheck.io/docs/api-reference/optimize-presets/get-a-optimize-preset.md): Your optimize preset first, then the built-in catalog. Your drafts are returned too, with `draft: true`. - [Create a optimize preset](https://filecheck.io/docs/api-reference/optimize-presets/create-a-optimize-preset.md): Creates a optimize preset. Records it points at must exist and be visible to you; a published optimize preset cannot point at a draft. - [Update a optimize preset](https://filecheck.io/docs/api-reference/optimize-presets/update-a-optimize-preset.md): A JSON Merge Patch (RFC 7396): send only what changes. Objects merge key by key, `null` removes a key, arrays replace the whole list. Patching a catalog optimize preset saves your own copy under the same id (`customized: true`), which you can undo with revert. - [Delete a optimize preset](https://filecheck.io/docs/api-reference/optimize-presets/delete-a-optimize-preset.md): Deleting a catalog optimize preset hides it from your account; deleting your own removes it (recoverable by support for 30 days); deleting a draft removes it at once. Refused with `in_use` while a published record or product still uses it. - [Publish a draft optimize preset](https://filecheck.io/docs/api-reference/optimize-presets/publish-a-draft-optimize-preset.md): Makes a draft live. Drafts it points at (a workflow's rule, a rule's profiles) are published with it; the response lists every id published. - [Revert to the catalog optimize preset](https://filecheck.io/docs/api-reference/optimize-presets/revert-to-the-catalog-optimize-preset.md): Drops your copy of a catalog optimize preset (or un-hides one you deleted), so the built-in version applies again. - [List destinations](https://filecheck.io/docs/api-reference/destinations/list-destinations.md): Your delivery destinations. Secret fields read as `********`. - [Get a destination](https://filecheck.io/docs/api-reference/destinations/get-a-destination.md): One destination. Secret fields read as `********`. - [Create a destination](https://filecheck.io/docs/api-reference/destinations/create-a-destination.md): Creates a destination. Secrets (passwords, private keys, header values) are encrypted on save and never returned. Check the connection with the test operation before a workflow delivers to it. - [Update a destination](https://filecheck.io/docs/api-reference/destinations/update-a-destination.md): A JSON Merge Patch: send only what changes. Leave a secret out (or send `********`) to keep the stored one. - [Delete a destination](https://filecheck.io/docs/api-reference/destinations/delete-a-destination.md): Refused with `in_use` while a published workflow delivers to it. - [Test a destination](https://filecheck.io/docs/api-reference/destinations/test-a-destination.md): Delivers a sample order (TEST-1001, one-page Sample_Product.pdf, plus the sidecar when enabled) with the stored settings and reports `{ ok, detail, error }`. SFTP, FTP and S3 really write the file to the configured path, where a print workflow watching that folder may pick it up: tell the shop first… - [List product mappings](https://filecheck.io/docs/api-reference/products/list-product-mappings.md): Every product in your store that has a workflow, and the workflow it uses. - [Map a product to a workflow](https://filecheck.io/docs/api-reference/products/map-a-product-to-a-workflow.md): Sets the workflow a product uses: the storefront Element opens it on that product's page. The workflow must be published. - [Unmap a product](https://filecheck.io/docs/api-reference/products/unmap-a-product.md): The product stops opening a workflow. - [Find products in your store](https://filecheck.io/docs/api-reference/products/find-products-in-your-store.md): Reads products from your connected Shopify store, each with the workflow it is mapped to. Other carts answer 409 `cart_not_supported`: map their product ids directly. - [Get the storefront settings](https://filecheck.io/docs/api-reference/settings/get-the-storefront-settings.md): How the Element appears on your product pages. - [Update the storefront settings](https://filecheck.io/docs/api-reference/settings/update-the-storefront-settings.md): Send only what changes; `null` puts a setting back to its default. Custom JS and CSS are dashboard-only. - [List webhook events](https://filecheck.io/docs/api-reference/webhooks/list-webhook-events.md): Every event a webhook can subscribe to. - [List webhooks](https://filecheck.io/docs/api-reference/webhooks/list-webhooks.md): Header values read as `********`. - [Get a webhook](https://filecheck.io/docs/api-reference/webhooks/get-a-webhook.md) - [Create a webhook](https://filecheck.io/docs/api-reference/webhooks/create-a-webhook.md): Payloads are signed: X-FileCheck-Signature is the hex HMAC-SHA256 of the raw body, keyed with your Auth Key. - [Update a webhook](https://filecheck.io/docs/api-reference/webhooks/update-a-webhook.md): A JSON Merge Patch. Leave a header value out (or send `********`) to keep the stored one. - [Delete a webhook](https://filecheck.io/docs/api-reference/webhooks/delete-a-webhook.md) - [Send a test event](https://filecheck.io/docs/api-reference/webhooks/send-a-test-event.md): Delivers a `test` event to the webhook's URL now and reports the response status. ## OpenAPI Specs - [openapi](/docs/openapi.json) ## Optional - [Demos](https://filecheck.io/demos) - [Support](mailto:support@filecheck.io) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.