Using PATs
Best for: Single-user tools, server-side applications, scripts, and automations. Personal Access Tokens allow users to authenticate and interact with the Speckle API on their own behalf. They’re ideal for:- Command-line tools
- Server-side applications
- Automation scripts
- Single-user integrations
- Python SDK - See Python SDK Authentication Guide for detailed examples
- .NET SDK - See .NET SDK Authentication
- GraphQL API - Include token in
Authorization: Bearer YOUR_TOKENheader - JavaScript/TypeScript - Use tokens in API client configuration
Getting a Personal Access Token
1
Sign in to Speckle
Go to your Speckle Server (for example, app.speckle.systems) and
sign in.
2
Open Developer settings
Open the workspace switcher (the workspace name at the top of the left sidebar), select your
name, then open Developer. Your name is the link to User settings, not only a signed-in
label. See Open user settings.
3
Create a token
Select New token, give it a name, select the required scopes, then copy the token.
Using the Token
When making API requests, include the token in theAuthorization header:
streams:read scope, you can read project data but cannot modify it.