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
- Departments are read only here. This area lists and retrieves departments; it has no create, update or delete call.
- Department ids start with
dept_. Pass thatidasdepartment_id. - The list pages by cursor. Records are under
data; passpagination.next_cursorascursorwhilepagination.has_moreistrue.