TIMESDevelopers
v1.0.0

Scopes

Permissions your AIP asks the merchant for.

Ask for the smallest set of scopes that makes your AIP work. Reviewers reject AIPs that request scopes they do not use.

Resource scopes

ResourceScopesCovers
companycompany:read, company:writeCompany profile, TIN and branding.
usersusers:read, users:writeWorkspace members.
invoicesinvoices:read, invoices:writeInvoices and receipts.
productsproducts:read, products:writeProducts and services.
inventoryinventory:read, inventory:writeStock levels and movements.
buyersbuyers:read, buyers:writeCustomers.
filesfiles:read, files:writeUploaded files.
ticketstickets:read, tickets:write, tickets:adminProjects, tickets, boards and SLAs.
hrhr:read, hr:write, hr:admin, hr:selfEmployees, leave and attendance. self limits access to the signed-in employee.
payrollpayroll:read, payroll:write, payroll:adminPayroll runs and payslips.

Platform scopes

ScopeCovers
events:subscribeLive events through client.api.subscribe and worker webhooks.
ui:overlayRendering on the overlay surface.
state:readReading your per-workspace key-value state.
state:writeWriting your per-workspace key-value state.

Requesting optional scopes

if (!client.init?.grantedScopes.includes('inventory:read')) {
  client.requestScopes(['inventory:read']);
}