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
- GraphQL API - Include token in
Authorization: Bearer YOUR_TOKENheader - JavaScript/TypeScript - Use tokens in API client configuration
Getting a Personal Access Token
1
Log into Speckle
Go to your Speckle Server (e.g., app.speckle.systems)
2
Access Your Profile
Click your avatar → Settings → Profile → Developer → Access Tokens
3
Create Token
Click “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.