get https://gateway.remote.com/v1/company-departments
Lists all departments for the authorized company specified in the request.
Log in to see full request history
Responses
Callback
Lists all departments for the authorized company specified in the request.
xxxxxxxxxx
curl --request GET \
--url https://gateway.remote.com/v1/company-departments \
--header 'accept: application/json'
xxxxxxxxxx
14{
"current_page": 1,
"data": {
"company_departments": [
{
"company_id": "669f9e18-889f-4c2c-95b8-67795a3113cc",
"id": "89c4fbb2-cd1f-4334-8e4b-280f8795bbd8",
"name": "Marketing"
}
]
},
"total_count": 1,
"total_pages": 1
}