Retrieve subscriptions
curl --request GET \
--url https://api.spacebring.com/subscriptions/v1 \
--header 'Authorization: Basic <encoded-value>'{
"nextPageToken": "<string>",
"searchQueryNext": "<string>",
"subscriptions": [
{
"addPendingItemsToInvoice": true,
"advanceInvoicing": {
"days": 123
},
"assignments": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": {
"id": "<string>",
"title": "<string>",
"type": "<string>",
"coverUrl": "<string>"
},
"title": "<string>",
"entire": true,
"quantity": 123
}
],
"createDate": "2023-11-07T05:31:56Z",
"credits": 123,
"customerRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dayPasses": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"items": [
{
"autoUpdateFromProduct": true,
"createDate": "2023-11-07T05:31:56Z",
"credits": 123,
"customEnd": true,
"customStart": true,
"customTax": {
"enabled": true,
"rate": 123
},
"dayPasses": 123,
"endFixed": true,
"grantedDiscounts": [
{
"coupon": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amountOff": 123,
"currencyCode": "<string>",
"enabledForCredits": true,
"limitedItems": {
"enabled": true,
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
]
},
"limitedRedemption": {
"enabled": true,
"usage": 123,
"value": 123
},
"percentOff": 123,
"productTypes": []
}
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price": 123,
"quantity": 123,
"setupFee": 123,
"startFixed": true,
"avigilonAltaGroupRef": 123,
"brivoGroupRef": 123,
"commitmentCycles": 123,
"commitmentEndDate": "2023-11-07T05:31:56Z",
"couponRef": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"endDate": "2023-11-07T05:31:56Z",
"entire": true,
"exclusiveAccess": {
"resourceRefs": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
},
"ezeepBlueGroupRef": "<string>",
"kisiGroupRef": 123,
"optionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"resourceRef": "<string>"
},
"planRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"type": "<string>",
"imageUrl": "<string>"
},
"resourceRef": "<string>",
"saltoksAccessGroupRef": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"tapkeyGroupRef": "<string>",
"tier": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"tierRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
],
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payWithInvoice": {
"creditPackages": true,
"desks": true,
"events": true,
"rooms": true,
"shop": true,
"equipment": true,
"parking": true
},
"price": 123,
"startDate": "2023-11-07T05:31:56Z",
"startFixed": true,
"timezoneId": "<string>",
"company": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"logo": {
"key": "<string>",
"url": "<string>"
},
"metadata": {},
"notes": "<string>",
"publicLogoUrl": "<string>"
},
"companyRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contract": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"currentInterval": {
"endDate": "2023-11-07T05:31:56Z",
"startDate": "2023-11-07T05:31:56Z",
"futureIntervalItemsCreated": true
},
"deleteDate": "2023-11-07T05:31:56Z",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"endDate": "2023-11-07T05:31:56Z",
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"nextInterval": {
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z"
},
"pausePaymentCollection": {
"createDate": "2023-11-07T05:31:56Z",
"resumesAt": "2023-11-07T05:31:56Z"
},
"payment": {
"status": "<string>",
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}
},
"purchaseDate": "2023-11-07T05:31:56Z",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"email": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userCreator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"email": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Subscriptions
Retrieve subscriptions
Retrieve subscriptions.
OAuth
Required scopes:subscriptions.readonly or subscriptionsGET
/
subscriptions
/
v1
Retrieve subscriptions
curl --request GET \
--url https://api.spacebring.com/subscriptions/v1 \
--header 'Authorization: Basic <encoded-value>'{
"nextPageToken": "<string>",
"searchQueryNext": "<string>",
"subscriptions": [
{
"addPendingItemsToInvoice": true,
"advanceInvoicing": {
"days": 123
},
"assignments": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": {
"id": "<string>",
"title": "<string>",
"type": "<string>",
"coverUrl": "<string>"
},
"title": "<string>",
"entire": true,
"quantity": 123
}
],
"createDate": "2023-11-07T05:31:56Z",
"credits": 123,
"customerRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dayPasses": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"items": [
{
"autoUpdateFromProduct": true,
"createDate": "2023-11-07T05:31:56Z",
"credits": 123,
"customEnd": true,
"customStart": true,
"customTax": {
"enabled": true,
"rate": 123
},
"dayPasses": 123,
"endFixed": true,
"grantedDiscounts": [
{
"coupon": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amountOff": 123,
"currencyCode": "<string>",
"enabledForCredits": true,
"limitedItems": {
"enabled": true,
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
]
},
"limitedRedemption": {
"enabled": true,
"usage": 123,
"value": 123
},
"percentOff": 123,
"productTypes": []
}
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"price": 123,
"quantity": 123,
"setupFee": 123,
"startFixed": true,
"avigilonAltaGroupRef": 123,
"brivoGroupRef": 123,
"commitmentCycles": 123,
"commitmentEndDate": "2023-11-07T05:31:56Z",
"couponRef": "<string>",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"endDate": "2023-11-07T05:31:56Z",
"entire": true,
"exclusiveAccess": {
"resourceRefs": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
},
"ezeepBlueGroupRef": "<string>",
"kisiGroupRef": 123,
"optionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"resourceRef": "<string>"
},
"planRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"productRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"type": "<string>",
"imageUrl": "<string>"
},
"resourceRef": "<string>",
"saltoksAccessGroupRef": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"tapkeyGroupRef": "<string>",
"tier": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
},
"tierRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
],
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payWithInvoice": {
"creditPackages": true,
"desks": true,
"events": true,
"rooms": true,
"shop": true,
"equipment": true,
"parking": true
},
"price": 123,
"startDate": "2023-11-07T05:31:56Z",
"startFixed": true,
"timezoneId": "<string>",
"company": {
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"logo": {
"key": "<string>",
"url": "<string>"
},
"metadata": {},
"notes": "<string>",
"publicLogoUrl": "<string>"
},
"companyRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contract": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"currentInterval": {
"endDate": "2023-11-07T05:31:56Z",
"startDate": "2023-11-07T05:31:56Z",
"futureIntervalItemsCreated": true
},
"deleteDate": "2023-11-07T05:31:56Z",
"discounts": {
"creditPackages": 123,
"desks": 123,
"equipment": 123,
"events": 123,
"rooms": 123,
"shop": 123
},
"endDate": "2023-11-07T05:31:56Z",
"membershipRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"nextInterval": {
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z"
},
"pausePaymentCollection": {
"createDate": "2023-11-07T05:31:56Z",
"resumesAt": "2023-11-07T05:31:56Z"
},
"payment": {
"status": "<string>",
"request": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
}
},
"purchaseDate": "2023-11-07T05:31:56Z",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"email": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userCreator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"about": "<string>",
"email": "<string>",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Authorizations
BasicAuthOAuth2
See our authentication documentation for how to authorize your requests
Headers
The id of the network. Required when using bearer token authentication
Query Parameters
The id of the location.
The number of items to return
Required range:
1 <= x <= 100Token to retrieve the next page of results.
Opaque cursor token for retrieving the next page of results. Pass this value as the nextPageToken query parameter in your next request.
Response
OK
Opaque cursor token for retrieving the next page of results. Pass this value as the nextPageToken query parameter in your next request.
Pre-built query string for the next page of results. Contains all active filter parameters combined with the next page token, ready to append to the endpoint URL.
Show child attributes
Show child attributes
Was this page helpful?
⌘I