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.

ScopeWhat it allows
invoice:readRead 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:createIssue an invoice: POST /agent/invoices.
invoice:updateEdit 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:sendSend over Peppol (POST /agent/peppol/send, /send/batch), Peppol enroll, reminders, and POST /agent/organizations/{id}/peppol-claim (resend the Financial Administration confirmation).
invoice:downloadDownload an invoice's PDF and XML: GET /agent/invoices/{id}/pdf, /agent/invoices/{id}/xml.
contact:readRead customers (list, detail): GET /agent/customers.
contact:createCreate a customer: POST /agent/customers.
receipt:readRead received documents / vendors (list, detail, stats, QR): GET /agent/expenses, /agent/vendors.
receipt:createUpload a received document and create a vendor: POST /agent/expenses/upload, /agent/vendors.
receipt:updateEdit / reclassify a received document, including bulk operations (bulk).
receipt:approveApprove a received document.
contract:readRead contracts: GET /agent/contracts, detail, payment schedule, linked invoices, stats, and attachment downloads.
contract:createCreate a contract (POST /agent/contracts) and AI extraction from PDF (POST /agent/contracts/extract).
contract:updateEdit a contract and its payments (PATCH /agent/contracts/{id}, PATCH /agent/contracts/payments/{paymentId}), extend the schedule, and upload/delete attachments.
contract:deleteDelete a contract: DELETE /agent/contracts/{id}.
support:readRead 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:writeOpen a ticket, reply on your own ticket and mark it resolved (POST /agent/support/tickets), upload attachments.
support:read_allRead every member's tickets in the firm (mine=false). Owner/admin only, read-only, separate consent.
report:readRead reports / dashboard summary: GET /agent/dashboard/summary.
bank:readRead 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:writeUpload, replace or remove a company signature or stamp from invoice PDFs. Choose this scope when creating a key.
org:provisionCreate 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:createUser 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.

ScopeWhat it allows
quote:readRead quotes
quote:createCreate quotes
quote:updateEdit quotes
quote:deleteDelete quotes
quote:sendSend quotes
quote:convertConvert quotes to invoices
product:readRead products, price lists and bundles
product:createCreate products
product:updateEdit products
product:deleteDelete products
stock:operateInventory operations: receipt, issue, stocktaking
invoice:deleteDelete invoices
receipt:deleteDelete expenses
attendance:readRead attendance
attendance:manageManage attendance: shifts, workplaces, teams, corrections
attendance:approveApprove absences and close attendance months
payroll:readRead payroll and employees (read only)
ledger:readRead accounting: journal, accounts, statements
accounting:managePost and manage accounting
period:closeClose accounting periods
period:reopenReopen closed periods
obligation:readRead obligations and VAT
obligation:updateEdit obligations and their status
obligation:uploadUpload documents to obligations
settings:readRead company settings
settings:updateChange company settings
template:manageManage invoice templates
number_series:manageManage number series
autopark:driveTrips 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.

ScopeWhy
org:billingCompany billing and subscription
org:deleteDeleting the company
member:inviteInviting members
member:updateChanging member roles
member:deleteRemoving members
upvs:authorizeSigning filings to the state (slovensko.sk)
payroll:manageEditing payroll
payroll:approveApproving payroll
A leaked key could take the company over through the member, billing and delete scopes. Payroll is changed only in a signed-in session in the app: a write through a key returns 403 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:provision

Custom 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

The default key does not have 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.