Test an n8n Dosya credential

Create and test a full-access, unanchored Dosya API credential in n8n, distinguish scope failures, and confirm the key owner and workspace reach.

Last reviewed

The n8n credential stores one secret field named API Key and sends it as a Bearer token to https://api.dosya.dev. Its test calls GET /api/me; a successful HTTP response can still fail the rule when the key is read-only.

Four-step workflow for creating an n8n API key, copying its one-time secret, testing dosya.dev API credentials, and checking the Workspace list.
Four-step workflow for creating an n8n API key, copying its one-time secret, testing dosya.dev API credentials, and checking the Workspace list. Open full-size screenshot.

Steps

  1. In Dosya, open Profile → API keys and choose New API key. Give the key a label that names this n8n instance.
  2. Choose Full access, enable REST/API use, and leave the folder anchor empty. Pin one workspace when the workflow should not reach the key owner’s other memberships.
  3. Generate the key and copy the complete secret once. Do not enter your Dosya password in n8n.
  4. In n8n Credentials, create dosya.dev API, paste the secret into API Key, and run Test connection.
  5. Treat This key is read-only. Uploads, folders and share links need a key with Full access scope. as a failed credential for this package even though /api/me was readable.
  6. Add a Dosya node, select the credential, and open a Workspace list. Confirm the expected workspace appears before saving the production workflow.

An Upload-only key cannot pass the authenticated /api/me test. A folder-anchored key is unsuitable for this REST node and returns a 403 explanation directing you to create an unanchored key. Revocation or expiry invalidates later requests even if n8n still stores the credential.

Reference for “Test an n8n Dosya credential”: Dosya n8n integration overview page.
Reference for “Test an n8n Dosya credential”: Dosya n8n integration overview page. Open full-size screenshot.

Expected result

n8n accepts the credential, the Dosya node can load the intended workspace, and write operations remain bounded by the key’s workspace pin plus the member’s permissions. The secret stays masked in the credential UI.

dosya.dev did not accept the API key means the value is mistyped, expired or revoked. A scope sentence requires a newly generated Full access key; changing only the n8n credential name does not change authority.

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.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.