Skip to Content
Joring Docs
Developers

API keys

Personal keys that let an agent act as you, limited to the scopes you choose.

An API key is a secret that lets a program act as you. A Joring key acts as the person who created it, in one team, with only the scopes it was given. A scope is one permission, such as reading trails.

A key can never do more than its owner can. If you can no longer write trails, or you leave the team, every key you created stops working.

Create a key

Go to Settings → API keys and choose New key. Then fill in:

FieldWhat to enter
NameWhat the key is for, for example "Claude Code on my laptop". The audit log shows this name.
ScopesSee Scopes. Read and write are on by default.
Expires30 days, 90 days (the default), 1 year, or No expiry. You cannot change it later. Create a new key and revoke this one instead.

Joring shows the key once, with configuration that you can paste into Claude Code, Cursor, Codex and curl. Joring stores only a hash of the key, a one-way fingerprint, so it cannot show the key again. If you lose a key, create a new one.

Keys start with jor_api_. Keep them as safe as passwords: never put them in code repositories or shared documents.

Scopes

ScopeLets the agent
trails:readList and read trails
trails:writeCreate trails, edit drafts, run surfacing tests, restore versions, manage access
trails:publishPublish, unpublish and archive trails, and delete a trail that is live

Write and publish include read. For an agent that only writes drafts, give trails:read and trails:write. Keep trails:publish for a key that you use with care, or publish from Joring yourself.

If your only authoring role is Trail author, your keys can publish, unpublish, archive or delete only the trails that you created.

Replace or revoke a key

To replace a key, create the new key, update the agent, then revoke the old key. Revoking works at once: every later request with that key gets 401. A request that was already accepted still finishes.

The Owner, Co-owners, Admins, IT admins and Security admins can choose All keys to see every key in the team. They can rename and revoke any key. They cannot see the key itself, because Joring does not store it.

Joring records each new, renamed and revoked key in the audit log, under API access.

When a key stops working

ResponseWhy
401The key is wrong, revoked or expired.
402 upgrade-requiredThe team's plan does not include API access. API access comes with the Team and Enterprise plans.
403 insufficient-scopeThe key does not have the scope. The response names the scope.
403 membership-revokedThe key's owner is no longer a member of the team.
403 forbiddenThe key's owner can no longer write trails, or a Trail author's key tried to publish, unpublish, archive or delete a trail that someone else created.
423 team-pending-deletionThe team is scheduled for deletion.
NextOAuth for hosted agents

Connect claude.ai, ChatGPT and other hosted agents without a key.

On this page