Workplace API
Retrieve team settings.
025ascPossible values: OK
GET /workplace/v1/team/settings HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"team_settings": [
{
"team_id": "text",
"team_name": "text",
"color": "text",
"head_count": 1,
"space_type_preference": "AUTO",
"default_location": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"linked_locations": [
"text"
],
"settings": [
{
"location_id": "text",
"type": "text",
"min_capacity": 1,
"max_capacity": 1,
"contingency": 1,
"fixed_days": [
1
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Update team settings.
OK
PUT /workplace/v1/team/settings HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 186
{
"team_settings": [
{
"team_id": "text",
"space_type_preference": "AUTO",
"settings": [
{
"location_id": "text",
"type": "text",
"min_capacity": 1,
"max_capacity": 1,
"contingency": 1,
"fixed_days": [
1
]
}
]
}
]
}OK
{
"success": true,
"data": [
{
"team_id": "text",
"team_name": "text",
"color": "text",
"head_count": 1,
"space_type_preference": "AUTO",
"default_location": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"linked_locations": [
"text"
],
"settings": [
{
"location_id": "text",
"type": "text",
"min_capacity": 1,
"max_capacity": 1,
"contingency": 1,
"fixed_days": [
1
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"identifier": "text"
}Create occupancy records.
OK
POST /workplace/v1/occupancy HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"location_id": "text",
"occupancy": [
{
"people_id": "text",
"seen_at": "text"
}
]
}OK
{
"success": true,
"data": {
"info": "text",
"occupancy": [
{
"occupancy_id": "text",
"location_id": "text",
"people_id": "text",
"external_ids": [
"text"
],
"seen_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"door_external_id": "text",
"wap_external_id": "text",
"dock_external_id": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"identifier": "text"
}Retrieve occupancy records.
025nameascPossible values: OK
GET /workplace/v1/occupancy HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"occupancy": [
{
"occupancy_id": "text",
"location_id": "text",
"people_id": "text",
"external_ids": [
"text"
],
"seen_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"door_external_id": "text",
"wap_external_id": "text",
"dock_external_id": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Delete occupancy records.
OK
DELETE /workplace/v1/occupancy HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"location_id": "text",
"timezone": "text",
"people_id": "text",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"occupancy": [
{
"occupancy_id": "text"
}
]
}OK
{
"success": true,
"data": {
"info": "text",
"deleted_records": 1
},
"identifier": "text"
}Start a forecasting job.
falseOK
POST /workplace/v1/forecast/start HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 120
{
"location_id": "text",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"force_rebuild": false
}OK
{
"success": true,
"data": {
"job_id": "text",
"location_id": "text",
"status": "text",
"service_processing": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Retrieve forecasting job status.
025created_atascPossible values: OK
GET /workplace/v1/forecast/status HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"forecast_jobs": [
{
"job_id": "text",
"location_id": "text",
"status": "text",
"service_processing": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Retrieve forecasted location capacity.
025starts_atascPossible values: OK
GET /workplace/v1/forecast/locations HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"forecast": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Retrieve forecasted team attendance.
025starts_atascPossible values: OK
GET /workplace/v1/forecast/teams HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"forecast": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Retrieve forecasted people attendance.
025starts_atascPossible values: OK
GET /workplace/v1/forecast/people HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"forecast": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Trigger an AIDRA evolution run.
OK
POST /workplace/v1/evolve/start HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 181
{
"location_id": "text",
"date": "2026-01-01T00:00:00.000Z",
"settings": {
"disturbance": "MIN",
"run_by_zone": false,
"future_days": 0,
"model": "AIDRA-D1",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}OK
{
"success": true,
"data": {
"evolution_id": "text",
"status": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Retrieve evolution status.
OK
GET /workplace/v1/evolve/status?evolution_id=text HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"evolution_id": "text",
"status": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Retrieve allocations with filters.
025starts_atascPossible values: OK
GET /workplace/v1/allocations HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"allocations": [
{
"allocation_id": "text",
"location_id": "text",
"location_name": "text",
"location_timezone": "text",
"layer_id": "text",
"layer_name": "text",
"room_id": "text",
"room_name": "text",
"zone_id": "text",
"zone_name": "text",
"team_id": "text",
"team_name": "text",
"people_id": "text",
"people_first_name": "text",
"people_last_name": "text",
"people_email": "text",
"spaces": [],
"type": "text",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"performance": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Create allocations.
OK
POST /workplace/v1/allocations HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 432
{
"allocations": [
{
"location_id": "text",
"location_name": "text",
"location_timezone": "text",
"layer_id": "text",
"layer_name": "text",
"spaces": [],
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"type": "text",
"room_id": "text",
"room_name": "text",
"zone_id": "text",
"zone_name": "text",
"team_id": "text",
"team_name": "text",
"people_id": "text",
"people_first_name": "text",
"people_last_name": "text",
"people_email": "text"
}
]
}OK
{
"success": true,
"identifier": "text"
}Update allocations.
OK
PUT /workplace/v1/allocations HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 407
{
"allocations": [
{
"allocation_id": "text",
"location_name": "text",
"layer_id": "text",
"layer_name": "text",
"room_id": "text",
"room_name": "text",
"zone_id": "text",
"zone_name": "text",
"team_id": "text",
"team_name": "text",
"people_id": "text",
"people_first_name": "text",
"people_last_name": "text",
"people_email": "text",
"spaces": [],
"type": "text",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z"
}
]
}OK
{
"success": true,
"identifier": "text"
}Delete allocations.
OK
DELETE /workplace/v1/allocations HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"allocations": [
{
"allocation_id": "text"
}
]
}OK
{
"success": true,
"identifier": "text"
}Retrieve intentions with optional filters. Only LIVE configuration is supported; scenario keys are ignored.
025ascPossible values: OK
GET /workplace/v1/intentions HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"intentions": [
{
"_id": "text",
"type": "text",
"location_id": "text",
"location_name": "text",
"location_timezone": "text",
"status": "text",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"people_id": "text",
"people_first_name": "text",
"people_last_name": "text",
"people_email": "text",
"team_id": "text",
"team_name": "text",
"room_id": "text",
"room_name": "text",
"invite_list": [],
"preferences": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"amenities": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"visitors": [],
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
},
"pagination": {
"current_results": {
"from": 1,
"to": 1
},
"total_results": 1,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "text"
}Create an intention. Only LIVE configuration is supported; scenario keys are ignored.
falseOK
Partial Success
POST /workplace/v1/intentions HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 547
{
"status": "text",
"type": "text",
"location_id": "text",
"people_id": "text",
"people_first_name": "text",
"people_last_name": "text",
"people_email": "text",
"team_id": "text",
"team_name": "text",
"invite_list": [],
"preferences": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"amenities": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"visitors": [],
"dates": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"custom_time": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"skip_auto_accept": false,
"fixed_day": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"allocation": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"success": true,
"data": {
"intentions": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"errors": []
},
"identifier": "text"
}Create external intentions. Only LIVE configuration is supported; scenario keys are ignored.
OK
Partial Success
POST /workplace/v1/intentions/external HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 309
{
"intentions": [
{
"people_id": "text",
"people_email": "text",
"people_first_name": "text",
"people_last_name": "text",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"external_location_id": "text",
"external_location_name": "text",
"external_location_timezone": "text",
"external_type": "text"
}
]
}{
"success": true,
"data": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"identifier": "text"
}Accept an intention. Only LIVE configuration is supported; scenario keys are ignored.
falseOK
Conflicting intentions detected
PUT /workplace/v1/intentions/{intention_id}/accept HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"_id": "text",
"status": "text",
"allocation": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"allcoated_at": "text"
},
"identifier": "text"
}Decline an intention. Only LIVE configuration is supported; scenario keys are ignored.
OK
PUT /workplace/v1/intentions/{intention_id}/decline HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"reason": "text"
}OK
{
"success": true,
"data": {
"_id": "text",
"status": "text",
"reason": "text"
},
"identifier": "text"
}Cancel an intention. Only LIVE configuration is supported; scenario keys are ignored.
OK
PUT /workplace/v1/intentions/{intention_id}/cancel HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"reason": "text",
"cancel_for_all": true
}OK
{
"success": true,
"data": {
"_id": "text",
"status": "text",
"reason": "text"
},
"identifier": "text"
}Delete an intention. Only LIVE configuration is supported; scenario keys are ignored.
OK
DELETE /workplace/v1/intentions/{intention_id} HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
OK
{
"success": true,
"data": {
"_id": "text"
},
"identifier": "text"
}Last updated