Authentication
The Laminar API uses token-based authentication. All API requests must include a valid access token in the request headers.
Getting an API token
Section titled “Getting an API token”API tokens are managed in your firm’s Settings > Integrations area. To generate a token:
- Navigate to Settings > Integrations > API Access
- Select Generate Token
- Give the token a descriptive name (e.g., “Accounting integration”)
- Copy the token — it will only be shown once
Using your token
Section titled “Using your token”Include the token in the Authorization header of every request:
curl -H "Authorization: Bearer YOUR_TOKEN" \ https://api.laminar.so/v1/mattersToken security
Section titled “Token security”- Tokens grant full access to your firm’s data — treat them like passwords
- Rotate tokens regularly
- Revoke tokens immediately if compromised
- Each integration should use its own token