Getting started

API authentication

How API keys work, what they can do, and how to rotate or revoke them.

By Garvit Sharma, Co-founder

API keys

Every request carries a key as a bearer token. Keys start with vidrys_sk_, are created on the Developers page by an admin of the workspace — its own, or its agency’s — and are shown exactly once. We store only a hash, so a lost key is replaced, never recovered.

curl --request GET \
  --url "https://api.vidrys.com/v1/plan" \
  --header "Authorization: Bearer $VIDRYS_API_KEY"

A missing, malformed, unknown, revoked or expired key answers 401 unauthorized with a WWW-Authenticate: Bearer header.

A key belongs to the workspace

A key is the workspace’s, not the person’s who created it. It acts as itself: it reaches this one workspace and no other, with the access it was created with — read, or read-and-write — capped by the plan. It stops working the moment:

  • the key is revoked or expires, or
  • the plan drops to Solo, or the workspace stops being approved.

It keeps working when the person who created it leaves or is deactivated, so a departure never breaks an integration. Removing someone lists the keys they created, and the Developers page marks those keys as created by someone who no longer has access. If that person may still hold a copy, rotate them.

Every request re-reads the key and the plan from the database and deliberately skips the 30-second cache the rest of the platform uses. Revoking a key bites on the next call, not half a minute later.

Agencies.An agency’s admins create a client’s keys from that client’s Developers page, and each key reaches that one client only — there is no key that spans clients. Keys the agency created are revoked if the client leaves the agency; keys the client created themselves keep working. The agency’s read-only members can’t create keys.

Read and read-and-write

AccessCan doNeeds
readEvery GET in this reference.Track, Grow, Scale or Custom
writeReads, plus adding and editing prompts, moving content opportunities and queue tasks, and generating drafts — which spends credits.Track, Grow, Scale or Custom, and a key created as read-and-write

A read key that attempts a write answers 403 write_not_allowed. Ask for a read-and-write key only where you need one: most integrations — digests, dashboards, alerting — are reads.

Rotating and revoking

Plans allow 1 active key on Track and Grow, 2 on Scale and 10 on Custom. With two slots you can rotate without downtime: create the new key, deploy it, then revoke the old one. With one slot, revoke first and create the replacement immediately — anything using the old key fails with 401 in between.

Creating and revoking a key are both recorded in the workspace’s activity log, and every write a key makes is recorded against that key.

Treat a key like a password

It reads everything your dashboard shows for the whole workspace. Keep it on a server or in a secrets manager, never in a browser, a mobile app or a public repository. If one leaks, revoke it first and investigate afterwards.

What a key is not

  • It is not a dashboard session. Session tokens don’t authenticate /v1, and API keys don’t authenticate the dashboard’s own internal API — which returns fields this surface withholds.
  • It is not the only credential the MCP server takes. /mcp accepts keys and, where your workspace has it switched on, a sign-in connection instead. See MCP authentication.

The Vidrys API and MCP server are included from the Track plan, ₹6,999 a month in INR before 18% GST, as priced in November 2026 (pricing). Requests and responses follow HTTP semantics (RFC 9110), bearer tokens (RFC 6750) and JSON.