Use the Dosya new-file trigger in Zapier
Configure Zapier’s Dosya New File trigger with the required key and workspace, test one current sample, and exclude ordinary version uploads.
Last reviewed
New File subscribes one Zap webhook to the file.uploaded event for a required workspace. It returns only brand-new file records; an upload that creates a new version of an existing file is deliberately ignored.

Steps
- Create a Dosya API key at
https://app.dosya.dev/profile/apiwith full scope. Do not folder-anchor it; REST rejects anchored keys. Pin the key to one workspace when narrower access is required. - In Zapier add the Dosya New File trigger and connect that key. The connection test calls the current user endpoint and rejects any scope other than
fullbefore the Zap is enabled. - Choose Workspace. Subscription creates one webhook endpoint for this Zap and event, labeled
Zapier (Zap <id>)when Zapier supplies the ID. - Upload one new, non-confidential file to the chosen workspace. Do not overwrite an existing file for this test, because deliveries with
is_new_version: truereturn no trigger item. - Use Zapier’s trigger test to load a sample. Sampling lists the workspace root, then at most 12 folders until it finds about 25 recent rows; a very large workspace is intentionally not exhaustively scanned.
- Confirm File ID, File name, Size in bytes, Folder ID, and Version, then publish the Zap. Switch it off cleanly so Zapier can delete the stored webhook endpoint.
If unsubscription reports Cannot unsubscribe: no dosya webhook endpoint id was stored for this Zap, the app refuses to pretend cleanup succeeded. Resolve the stale connection so an endpoint is not leaked against webhook limits.

Expected result
One newly created file in the selected workspace produces one trigger item whose id and file_id are the stable file ID. New versions are ignored, and repeated delivery of the same event uses the same id so Zapier can deduplicate it.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.