Get a list of departments via API

Get a list of departments via API

Hi there.

Is it possible to get a list of departments? Or get accounts, contacts, requests for all departments via API?