Providers / Railway

Hosting

Railway API keys and credentials

What every Railway credential a founder holds does, whether it expires, and what tends to break. Each fact links to Railway's own docs.

Last checked 2026-11-07 · railway.com

At a glance

CredentialExpiryPermissions
Account token (no workspace selected)Not documentedFull access only
Workspace (team) tokenNot documentedCan be scoped
Project tokenNot documentedCan be scoped
Railway account loginNot documented–

Each credential

Account token (no workspace selected)

Created in account settings > Tokens with 'No workspace' selected. Broadest token: it can perform any API action the account is authorized for, across all workspaces. Sent as Authorization: Bearer. The 'me' query works only with account tokens. Docs do not state an expiry or describe fine-grained permissions. Do not share it.

Railway docs

Workspace (team) token

Created on the Tokens page by choosing a workspace. Covers all resources in that one workspace; it cannot reach personal resources or other workspaces. Shareable with teammates. Sent as Authorization: Bearer. Older docs call this a team token. Expiry not stated.

Railway docs

Project token

Created in project settings > Tokens. Limited to one environment within one project. Must be sent in the Project-Access-Token header, not Authorization: Bearer. Expiry not stated.

Railway docs

Railway account login

Dashboard sign-in (may be GitHub or email based). Not an API credential. Session policy not researched.

What usually goes wrong

Renewals and billing

Not researched.

Where to find it in Railway

What Railway's docs don't say

We couldn't confirm these from official docs, so don't rely on them either way:

Rotating or replacing a Railway key

The steps are the same for most providers: make the new key, deploy it everywhere the old one is used, check it works, then revoke the old one. Our guides walk through it:

Sources

Related providers

Keep track of every Railway key

StackHangar stores your Railway keys in an encrypted vault, grouped by the product they belong to, warns you before they expire, and walks you through rotating them. We can't read your secrets.