API keys and scopes
Every partner key carries a set of scopes (permissions) following the least-privilege principle. An agent endpoint requires a specific scope: if the key doesn't have it, the call returns 403 FORBIDDEN. You choose scopes when creating a key in the partner portal.
Scope catalog
This is the full list of scopes a partner can assign to a key (in resource → action order). The endpoint rejects the call if the key is missing the listed scope.
| Scope | What it allows |
|---|---|
invoice:read | Read invoices (list, detail), Peppol statuses/received documents, and vehicles: GET /agent/invoices, /agent/invoices/{id}, /agent/peppol/status, /agent/peppol/received, and the whole /agent/vehicles/* group (list, detail, by-plate). |
invoice:create | Issue an invoice: POST /agent/invoices. |
invoice:update | Edit an invoice's content (PATCH /agent/invoices/{id}: items, dates, notes; camelCase payload), change its status (PATCH /agent/invoices/{id}/status) and manage attachments: add/remove (POST/DELETE /agent/invoices/{id}/attachments). Status cancelled works only when the key's owner may cancel invoices in the app. |
invoice:send | Send over Peppol (POST /agent/peppol/send, /send/batch), Peppol enroll, reminders, and POST /agent/organizations/{id}/peppol-claim (resend the Financial Administration confirmation). |
invoice:download | Download an invoice's PDF and XML: GET /agent/invoices/{id}/pdf, /agent/invoices/{id}/xml. |
contact:read | Read customers (list, detail): GET /agent/customers. |
contact:create | Create a customer: POST /agent/customers. |
receipt:read | Read received documents / vendors (list, detail, stats, QR): GET /agent/expenses, /agent/vendors. |
receipt:create | Upload a received document and create a vendor: POST /agent/expenses/upload, /agent/vendors. |
receipt:update | Edit / reclassify a received document, including bulk operations (bulk). |
receipt:approve | Approve a received document. |
contract:read | Read contracts: GET /agent/contracts, detail, payment schedule, linked invoices, stats, and attachment downloads. |
contract:create | Create a contract (POST /agent/contracts) and AI extraction from PDF (POST /agent/contracts/extract). |
contract:update | Edit a contract and its payments (PATCH /agent/contracts/{id}, PATCH /agent/contracts/payments/{paymentId}), extend the schedule, and upload/delete attachments. |
contract:delete | Delete a contract: DELETE /agent/contracts/{id}. |
support:read | Read the caller's own support tickets and their public conversation (GET /agent/support/tickets; without X-Organization-Id across every firm whose role allows it). Not available to partner keys. |
support:write | Open a ticket, reply on your own ticket and mark it resolved (POST /agent/support/tickets), upload attachments. |
support:read_all | Read every member's tickets in the firm (mine=false). Owner/admin only, read-only, separate consent. |
report:read | Read reports / dashboard summary: GET /agent/dashboard/summary. |
bank:read | Read connected bank accounts with balances and sync status (GET /agent/bank/accounts), their movements (/agent/bank/accounts/{accountId}/movements) and the change feed (GET /agent/bank/changes). Also required to subscribe to the bank.transactions.changed webhook event. With a partner key these endpoints also need the X-Organization-Id header (without it the API returns 403 FORBIDDEN), and they return data only for an organization with a connected bank account. A partner's firm connects its bank through the link from POST /agent/bank/connect-link (LIVE key, a contract with bank connections); GET /agent/organizations/bank-accounts returns the accounts of all your firms at once, without the header. Bank events in GET /agent/events show only to a key with this scope. It is not in a partner key's default set; choose it when you create a new key. |
org:branding:write | Upload, replace or remove a company signature or stamp from invoice PDFs. Choose this scope when creating a key. |
org:provision | Create a client organization (POST /agent/organizations), send the Financial Administration activation token (POST /agent/organizations/{id}/activation-token) and manage the company's invoice bank accounts (POST /agent/bank-accounts, PATCH and DELETE /agent/bank-accounts/{id}). |
org:create | User keys only: found a new company in the key owner's account (POST /agent/organizations, no X-Organization-Id). The plan limits apply as in the app; on the Free plan another company returns 402 PLAN_REQUIRED. |
Scopes for the App API (modules)
These scopes apply to user keys and AI assistant connections on the App API. Partner keys do not have them. The App API also uses invoice:*, contact:*, receipt:*, report:read, bank:read, autopark:read and autopark:write. The effective permission is the intersection of the key's scopes and the member's role. The endpoints and the permissions they need are in the catalog, GET /v1/agent/app/catalog.
| Scope | What it allows |
|---|---|
quote:read | Read quotes |
quote:create | Create quotes |
quote:update | Edit quotes |
quote:delete | Delete quotes |
quote:send | Send quotes |
quote:convert | Convert quotes to invoices |
product:read | Read products, price lists and bundles |
product:create | Create products |
product:update | Edit products |
product:delete | Delete products |
stock:operate | Inventory operations: receipt, issue, stocktaking |
invoice:delete | Delete invoices |
receipt:delete | Delete expenses |
attendance:read | Read attendance |
attendance:manage | Manage attendance: shifts, workplaces, teams, corrections |
attendance:approve | Approve absences and close attendance months |
payroll:read | Read payroll and employees (read only) |
ledger:read | Read accounting: journal, accounts, statements |
accounting:manage | Post and manage accounting |
period:close | Close accounting periods |
period:reopen | Reopen closed periods |
obligation:read | Read obligations and VAT |
obligation:update | Edit obligations and their status |
obligation:upload | Upload documents to obligations |
settings:read | Read company settings |
settings:update | Change company settings |
template:manage | Manage invoice templates |
number_series:manage | Manage number series |
autopark:drive | Trips and driver documents for the assigned vehicle |
Scopes a key never gets
No API key or assistant connection holds these permissions, whatever the role of its owner. The API returns 400 when a key is created or edited with them, and they are dropped from older keys.
| Scope | Why |
|---|---|
org:billing | Company billing and subscription |
org:delete | Deleting the company |
member:invite | Inviting members |
member:update | Changing member roles |
member:delete | Removing members |
upvs:authorize | Signing filings to the state (slovensko.sk) |
payroll:manage | Editing payroll |
payroll:approve | Approving payroll |
TWO_FACTOR_REQUIRED. Through a key you can only read payroll (payroll:read).Default scope set
A newly created partner key (via admin "partner registration" or self-service in the portal) gets read + create across the agent surface. By default that's:
invoice:read
invoice:create
invoice:update
invoice:send
invoice:download
contact:read
contact:create
receipt:read
report:read
contract:read
contract:create
contract:update
org:provisionCustom scopes and more LIVE keys
In the portal under API keys, at „New key" choose „Choose" under „Scopes" and tick scopes from the catalog, for example a separate key with only bank:read. The first LIVE key is created with the default set once production is approved and the upfront payment is paid. After that the partner's owner or admin creates more LIVE keys, at most 10 active. A key's scopes never change: create a new key and revoke the old one. All of a partner's LIVE keys share one requests-per-minute limit.
What to watch out for
contract:delete. If you need to delete contracts, request that scope when creating the key. Otherwise the call returns 403 FORBIDDEN. Keys created before contracts were introduced (August 2026) carry no contract scopes: create a new key.POST /agent/organizations/{id}/peppol-claim requires invoice:send, not org:provision. It only (re)sends the confirmation email for an org the key already owns; it does not create an organization. Details in Production onboarding.Treat a scope 403 as a configuration error: regenerate the key with the correct scope set, don't retry the call in a loop. More in Error codes.