Create an API token
Let other software, such as Power BI or your own scripts, read or write this company’s books through the REST API.
Who can do this Owner, Accountant
A token belongs to you and to this company. It can do only what its scopes allow, and never more than your role allows.
- Open Settings, then API tokens. Under New API token, enter a Name for what will use it, set Expires after (days) (up to 365; 90 by default), and tick the Scopes.

- Select Create token. Copy the token straight away with Copy token: it will not be shown again.
- To stop it working, select Revoke on it under Your tokens.
| Scope | Allows |
|---|---|
| Read accounting data | Reading accounts, contacts, documents and journals |
| Create and change documents | Writing documents |
| Read reports | Reading reports |
| Read the audit log | Reading the audit log |
I lost the token.
It is stored only in a form that cannot be read back. Revoke it and create a new one.
Can a Viewer create a token?
No. Owners and Accountants can.
What happens when it expires?
Requests with it are refused. Create a new token and update the software that uses it.