This api is used to get offices list. Get offices list by sending a POST request with optional filters to the endpoint below.
Response:
{
"success": true,
"data": {
"offices": {
"current_page": 1,
"data": [
{
"office_id": "OPL0000000000",
"site_id": "ST00000000",
"office_type": "serviced",
"size": 500,
"amount": 300,
"max_people_count": 5,
"deposit_terms": 120,
"rent_terms": 12,
"commission_rate": 10,
"available_for_booking": "available",
"available_from_date": null,
"status": "Active",
"created_at": "2025-10-14T10:02:59.000000Z",
"updated_at": "2025-10-14T10:02:59.000000Z"
},
{
"office_id": "OPL0000000001",
"site_id": "ST00000000",
"office_type": "serviced",
"size": 100,
"amount": 500,
"max_people_count": 5,
"deposit_terms": 2,
"rent_terms": 12,
"commission_rate": 10,
"available_for_booking": "upcoming",
"available_from_date": "2025-10-01",
"status": "Active",
"created_at": "2025-10-09T09:21:57.000000Z",
"updated_at": "2025-10-09T09:21:57.000000Z"
},
],
"first_page_url": "https://staging-api.meetingroomz.com/manager/v1/offices?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://staging-api.meetingroomz.com/manager/v1/offices?page=1",
"links": [
{
"url": null,
"label": "pagination.previous",
"active": false
},
{
"url": "https://staging-api.meetingroomz.com/manager/v1/offices?page=1",
"label": "1,
"active": false
},
{
"url": null,
"label": "pagination.next",
"active": false
}
],
"next_page_url": null,
"path": "https://staging-api.meetingroomz.com/manager/v1/offices",
"per_page": 10,
"prev_page_url": null,
"to": 2,
"total": 2
},
"offices_count": 2
},
"message": "Offices fetched successfully"
}