Overview of Railway Public API tokens and scopes
The Railway Public API is a GraphQL API used for integrating Railway into CI/CD pipelines and workflows. There are four types of tokens available:
| Token Type | Scope | Best For |
|---|---|---|
| Account token | All resources and workspaces | Personal scripts, local development |
| Workspace token | Single workspace | Team CI/CD, shared automation |
| Project token | Single environment in a project | Deployments, service-specific automation |
| OAuth | User-granted permissions | Third-party apps acting on behalf of users |
Endpoint URL: https://backboard.railway.com/graphql/v2