Unified Departments Operations

Standard CRUD operations normalized across all platforms

ListGET
/departments

Retrieve all departments with pagination and filtering

GetGET
/departments/{id}

Fetch a single department by ID

CreatePOST
/departments

Create a new department

UpdatePATCH
/departments/{id}

Update an existing department

Quick Start

Start syncing departments in minutes

Node.js
import { Apideck } from '@apideck/unify'

const apideck = new Apideck({
  apiKey: 'YOUR_API_KEY',
  appId: 'YOUR_APP_ID',
  consumerId: 'user-123'
})

// List departments from any connected accounting platform
const response = await apideck.accounting.departments.list()

// Returns normalized data regardless of the underlying platform
console.log(response.data)
// [
//   { id: '123', ... },
//   { id: '456', ... }
// ]

// Works the same for Xero, QuickBooks, NetSuite, etc.

Launch accounting integrations in weeks, not months

Get started for free