Workplace API
Retrieve a list of location settings or a specific location setting by ID.
Optional ID of the location to retrieve.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: GET /workplace/v1/location/settings HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"location_settings": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_location_settings_successful"
}
Retrieve a list of team settings or a specific team setting by ID.
ID of the team to retrieve layers from.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: GET /workplace/v1/team/settings HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"team_settings": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_team_settings_successful"
}
Retrieve a list of people settings or a specific person setting by ID.
ID of the person to retrieve settings for.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: GET /workplace/v1/people/settings HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"people_settings": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_people_settings_successful"
}
Retrieve a list of allocations or a specific allocation by ID.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: Filter by Location ID.
Filter by Layer ID.
Filter by Room ID.
Filter by Zone ID.
Filter by People ID.
Filter by Team ID.
Start date-time in UTC.
End date-time in UTC.
Timezone of the location. When provided, starts_at
and ends_at
are interpreted in this timezone. Must be a valid IANA Time Zone identifier.
Europe/London
GET /workplace/v1/allocations HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"allocations": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_allocations_successful"
}
Retrieve a list of intentions or a specific intention by ID.
Optional ID of the area to retrieve.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: Filter by Location ID.
Filter by Layer ID.
Filter by Room ID.
Filter by Zone ID.
Filter by People ID.
Filter by Team ID.
Start date-time in UTC.
End date-time in UTC.
Timezone of the location. When provided, starts_at
and ends_at
are interpreted in this timezone. Must be a valid IANA Time Zone identifier.
Europe/London
GET /workplace/v1/intentions HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"intentions": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_intentions_successful"
}
Retrieve a list of forecast or a specific forecast by ID.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: Filter by Location ID.
Filter by People ID.
Filter by Team ID.
Start date-time in UTC.
End date-time in UTC.
Timezone of the location. When provided, starts_at
and ends_at
are interpreted in this timezone. Must be a valid IANA Time Zone identifier.
Europe/London
GET /workplace/v1/forecast HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"forecast": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_forecast_successful"
}
Retrieve a list of occupancy or a specific occupancy by ID.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: Filter by Location ID.
Filter by People ID.
Start date-time in UTC.
End date-time in UTC.
Timezone of the location. When provided, starts_at
and ends_at
are interpreted in this timezone. Must be a valid IANA Time Zone identifier.
Europe/London
GET /workplace/v1/occupancy HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"occupancy": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_occupancy_successful"
}
Retrieve a list of capacity or a specific capacity by ID.
Number of items to skip.
0
Maximum number of items to return.
25
Field by which to sort.
Sort order, 'asc' or 'desc'.
asc
Possible values: Filter by Location ID.
Start date for filtering capacity. Dates are interpreted in UTC.
YYYY-MM-DD or YYYY-DD-MM
End date for filtering capacity. Dates are interpreted in UTC.
YYYY-MM-DD or YYYY-DD-MM
Timezone of the location. When provided, date_from
and date_to
are interpreted in this timezone. Must be a valid IANA Time Zone identifier.
Europe/London
GET /workplace/v1/capacity HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"data": {
"capacity": [
{},
{}
],
"pagination": {
"current_results": {
"from": 1,
"to": 25
},
"total_results": 20
}
},
"identifier": "get_capacity_successful"
}
Last updated
Was this helpful?