GET
/
work-locations
/
public
/
api
/
work-locations
/
{id}
curl --request GET \
  --url https://{host}/work-locations/public/api/work-locations/{id} \
  --header 'Authorization: <authorization>'
{
  "id": 123,
  "name": "<string>",
  "type": "Office",
  "office": {
    "capacity": 123,
    "showAreas": true,
    "areas": [
      {
        "id": 123,
        "name": "<string>",
        "capacity": 123,
        "floorKey": 123
      }
    ],
    "floors": [
      {
        "key": 123,
        "name": "<string>",
        "position": 123
      }
    ]
  },
  "isActive": true
}

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer
required

Unique id of the work location

Response

200
application/json

OK

Represents a location an employee can work from