Departments List

Retrieve a paginated list of departments configured for your company.

GET
/api/v1/departments

Description

Returns departments from Manage Configure. Use the name field when setting tag.department on deployment place-order requests. If a new department name is sent on place-order, it is created automatically.

Request

Headers

HeaderValueRequired
AuthorizationBearer <access_token>Yes
Content-Typeapplication/jsonYes

Query Parameters

ParameterTypeRequiredDescription
pagenumberNoPage number (1-based). Default is 1.
limitnumberNoRecords per page. Default is 10. Max 100 on tickets, wallet, and shipping labels.
modified_sincestringNoISO 8601 timestamp; return departments updated on or after this time.

Response

FieldTypeDescription
totalDepartmentsnumberTotal matching departments.
totalPagesnumberTotal pages.
currentPagenumberCurrent page.
departmentsarrayDepartment records.
departments[].idstringOpaque department ID (`{7-digit-prefix}-{numericId}`).
departments[].namestringDepartment name. Use this value in tag.department on place-order requests (or send a new name to create one).
departments[].locationstringLinked location name.
departments[].phone_numberstringFormatted phone number.
departments[].activebooleanWhether the department is active (not deleted).

Notes

  • Default page size is 10.
  • Use departments[].name as tag.department when placing deployment orders. Unknown department names are created automatically on place-order.

Related Endpoints

Did this page help you?