Skip to content

Retrieve All Managed Departments

Request

Retrieve all managed departments.

Security
api_key
Headers
x-managed-company-idstringrequired

The ID of the managed company on behalf of which the request is made

curl -i -X GET \
  https://doc.acc.connect.easypost.eu/_mock/public-api/openapi/departments \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-managed-company-id: string'

Responses

Bodyapplication/json
itemsArray of objects(DepartmentResponseDto)required

Array of Departments for the current page

Response
{ "items": [ { … } ] }