At a glance
Before you call
Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in anAuthorization header: Authorization: Bearer $ACCESS_TOKEN.
Things to know
- Alerts are read only. You can list them for the instance or for one account, employee or labour, and read one by id.
- Employees and labours are identified by their
code. An account is named by itsid, such asACC0001. - Every list has the same shape. Alerts sit under
databesideobject,urlandpagination, and an emptydatameans no alerts. - Listings page by cursor. Records sit under
data; passpagination.next_cursorascursorto read the next page, and stop whenpagination.has_moreisfalse.