Quickstart
From zero to your first authenticated request
1. Create a workspace token
API requests authenticate with a workspace token. It is bound to one workspace and is meant for integrations that act as the workspace itself. The plaintext token is shown once — copy it immediately. It looks like:
Personal access tokens (lct_pat_) are not used for the API. They are for
AI agents and MCP clients — see MCP server.
Choose scopes when you create the token. Start with read:invoices to
follow this guide; you can issue a broader token later. See
Authentication for the full scope list.
2. Note your workspace ID
Every endpoint is scoped to a workspace. A workspace token is bound to one
workspace, and the workspace_id in the path must match it, or the request
returns 403. Use that workspace’s ID as the workspace_id below.
3. List invoices
That’s it. From here:
- Authentication — token types and scopes
- Pagination — walking
next_cursor - Errors — handling non-2xx responses
