curl --request POST \
--url https://api.spacebring.com/resources/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"resource": {
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"type": "dedicatedDesk",
"autoRelease": {
"enabled": true,
"interval": "fiveMinutes"
},
"avigilonAltaGroupRef": "<string>",
"bookingPermission": "admins",
"bookingStepMinutes": 123,
"brivoGroupRef": "<string>",
"capacity": 123,
"checkIn": {
"interval": "zeroMinutes"
},
"confirmationEmail": {
"bookingCreatedByAdmin": true,
"bookingCreatedByMember": true,
"bookingCreatedByNetworkMember": true,
"bookingCreatedByPublic": true,
"template": "<string>"
},
"credits": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"dayPassesEnabled": true,
"description": "<string>",
"dynamicPricing": {
"deltaAbove": 123,
"deltaBelow": 123,
"enabled": true
},
"duration": {
"max": 123,
"min": 123,
"public": {
"enabled": true,
"max": 123,
"min": 123
}
},
"googleCalendar": {
"id": "<string>",
"twoWaySyncEnabled": true
},
"kisiGroupRef": 123,
"money": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"parentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plans": {
"enabled": true,
"tiers": [
{
"entire": true,
"plan": {
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "day",
"price": 123,
"title": "<string>"
},
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"description": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"ezeepBlueGroupRef": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "<string>",
"price": 123,
"selfSignupType": "<string>",
"setupFee": 123,
"title": "<string>"
}
]
},
"preparationMinutes": "zeroMinutes",
"refundThreshold": "noRefund",
"saltoksAccessGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schedule": {
"default": {
"closedDays": [
"<string>"
],
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
},
"enabled": true,
"public": {
"closedDays": [
"<string>"
],
"enabled": true,
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
}
},
"tapkeyGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visibility": "admins"
}
}
'{
"resource": {
"autoRelease": {
"enabled": true,
"interval": "fiveMinutes"
},
"avigilonAltaGroupRef": "<string>",
"bookingPermission": "admins",
"bookingStepMinutes": 123,
"brivoGroupRef": "<string>",
"capacity": 123,
"checkIn": {
"interval": "zeroMinutes"
},
"confirmationEmail": {
"bookingCreatedByAdmin": true,
"bookingCreatedByMember": true,
"bookingCreatedByNetworkMember": true,
"bookingCreatedByPublic": true,
"template": "<string>"
},
"createDate": "2023-11-07T05:31:56Z",
"credits": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"dayPassesEnabled": true,
"description": "<string>",
"dynamicPricing": {
"deltaAbove": 123,
"deltaBelow": 123,
"enabled": true
},
"duration": {
"max": 123,
"min": 123,
"public": {
"enabled": true,
"max": 123,
"min": 123
}
},
"googleCalendar": {
"id": "<string>",
"twoWaySyncEnabled": true
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"image": {
"key": "<string>"
},
"imageUrl": "<string>",
"kisiGroupRef": 123,
"locale": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"money": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plans": {
"enabled": true,
"tiers": [
{
"entire": true,
"plan": {
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "day",
"price": 123,
"title": "<string>"
},
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"description": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"ezeepBlueGroupRef": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "<string>",
"price": 123,
"selfSignupType": "<string>",
"setupFee": 123,
"title": "<string>"
}
]
},
"preparationMinutes": "zeroMinutes",
"refundThreshold": "noRefund",
"saltoksAccessGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schedule": {
"default": {
"closedDays": [
"<string>"
],
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
},
"enabled": true,
"public": {
"closedDays": [
"<string>"
],
"enabled": true,
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
}
},
"tapkeyGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"type": "dedicatedDesk",
"visibility": "admins"
}
}Create a new resource in a location. The request body must match the schema exactly—unknown properties are rejected.
resourcescurl --request POST \
--url https://api.spacebring.com/resources/v1 \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"resource": {
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"type": "dedicatedDesk",
"autoRelease": {
"enabled": true,
"interval": "fiveMinutes"
},
"avigilonAltaGroupRef": "<string>",
"bookingPermission": "admins",
"bookingStepMinutes": 123,
"brivoGroupRef": "<string>",
"capacity": 123,
"checkIn": {
"interval": "zeroMinutes"
},
"confirmationEmail": {
"bookingCreatedByAdmin": true,
"bookingCreatedByMember": true,
"bookingCreatedByNetworkMember": true,
"bookingCreatedByPublic": true,
"template": "<string>"
},
"credits": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"dayPassesEnabled": true,
"description": "<string>",
"dynamicPricing": {
"deltaAbove": 123,
"deltaBelow": 123,
"enabled": true
},
"duration": {
"max": 123,
"min": 123,
"public": {
"enabled": true,
"max": 123,
"min": 123
}
},
"googleCalendar": {
"id": "<string>",
"twoWaySyncEnabled": true
},
"kisiGroupRef": 123,
"money": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"parentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plans": {
"enabled": true,
"tiers": [
{
"entire": true,
"plan": {
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "day",
"price": 123,
"title": "<string>"
},
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"description": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"ezeepBlueGroupRef": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "<string>",
"price": 123,
"selfSignupType": "<string>",
"setupFee": 123,
"title": "<string>"
}
]
},
"preparationMinutes": "zeroMinutes",
"refundThreshold": "noRefund",
"saltoksAccessGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schedule": {
"default": {
"closedDays": [
"<string>"
],
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
},
"enabled": true,
"public": {
"closedDays": [
"<string>"
],
"enabled": true,
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
}
},
"tapkeyGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visibility": "admins"
}
}
'{
"resource": {
"autoRelease": {
"enabled": true,
"interval": "fiveMinutes"
},
"avigilonAltaGroupRef": "<string>",
"bookingPermission": "admins",
"bookingStepMinutes": 123,
"brivoGroupRef": "<string>",
"capacity": 123,
"checkIn": {
"interval": "zeroMinutes"
},
"confirmationEmail": {
"bookingCreatedByAdmin": true,
"bookingCreatedByMember": true,
"bookingCreatedByNetworkMember": true,
"bookingCreatedByPublic": true,
"template": "<string>"
},
"createDate": "2023-11-07T05:31:56Z",
"credits": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"dayPassesEnabled": true,
"description": "<string>",
"dynamicPricing": {
"deltaAbove": 123,
"deltaBelow": 123,
"enabled": true
},
"duration": {
"max": 123,
"min": 123,
"public": {
"enabled": true,
"max": 123,
"min": 123
}
},
"googleCalendar": {
"id": "<string>",
"twoWaySyncEnabled": true
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"image": {
"key": "<string>"
},
"imageUrl": "<string>",
"kisiGroupRef": 123,
"locale": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"money": {
"enabled": true,
"price": 123,
"tiers": [
{
"flatAmount": 123,
"from": 123,
"unitAmount": 123,
"upTo": 123
}
]
},
"networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parentRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plans": {
"enabled": true,
"tiers": [
{
"entire": true,
"plan": {
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "day",
"price": 123,
"title": "<string>"
},
"commitmentCycles": 123,
"credits": 123,
"dayPasses": 123,
"description": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"ezeepBlueGroupRef": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"period": "<string>",
"price": 123,
"selfSignupType": "<string>",
"setupFee": 123,
"title": "<string>"
}
]
},
"preparationMinutes": "zeroMinutes",
"refundThreshold": "noRefund",
"saltoksAccessGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schedule": {
"default": {
"closedDays": [
"<string>"
],
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
},
"enabled": true,
"public": {
"closedDays": [
"<string>"
],
"enabled": true,
"items": [
{
"days": {
"friday": true,
"monday": true,
"saturday": true,
"sunday": true,
"thursday": true,
"tuesday": true,
"wednesday": true
},
"hours": {
"from": "<string>",
"to": "<string>"
}
}
]
}
},
"tapkeyGroupRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"type": "dedicatedDesk",
"visibility": "admins"
}
}See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Show child attributes
Created
Resource representation. Public create uses the same field set with required top-level fields
documented on the create request body; omit read-only fields (createDate, imageUrl, locale, networkRef) on create.
Show child attributes