Skip to content
QaydTech Beta launch

Getting started

Authentication and permissions

Keys, their permissions, and whom they act as.

Every request carries the API key in the Authorization header:

Authorization: Bearer qayd_a1b2c3d4e5f6…

The key

  • The business creates it in Settings → Developer API; it is shown once only, and only its fingerprint is kept.
  • It may last 30, 90 or 365 days, or until revoked.
  • Revoking it stops it at once.

Permissions

Each key has permissions per section: read, or create and edit (which includes read). A key acts as the user who created it, within their permissions: if the user is deactivated or loses a permission, the key loses it too.

customers.read Customers · Read View customers
customers.write Customers · Create and edit Manage customers
invoices.read Sales invoices and returns · Read View sales invoices
invoices.write Sales invoices and returns · Create and edit Create sales invoices
items.read Items · Read View items and warehouses
items.write Items · Create and edit Manage items
stock.read Stock · Read View stock and its movement
stock.write Stock · Create and edit Prepare stock documents
suppliers.read Suppliers · Read View suppliers
suppliers.write Suppliers · Create and edit Manage suppliers
purchases.read Purchase invoices and returns · Read View purchase invoices
purchases.write Purchase invoices and returns · Create and edit Create purchase invoices
payments.read Payment vouchers · Read View payment vouchers
payments.write Payment vouchers · Create and edit Record payment vouchers
receipts.read Receipts and payments · Read View receipt vouchers
receipts.write Receipts and payments · Create and edit Record receipt vouchers
accounts.read Chart of accounts · Read View accounts
journal.read Journal entries · Read View entries
journal.write Journal entries · Create and edit Create entries
reports.read Financial reports · Read Accounting reports
webhooks.read Webhook addresses · Read Developer API
webhooks.write Webhook addresses · Create and edit Developer API

One key per system, with the fewest permissions it needs. Never put the key in code that runs in a browser or a mobile app: keep it on your server.