Your own API
For groups and chains with their own platform. Publish your catalogue in the CoworkingView data contract, or we adapt to your API. Leads, availability and bookings come later, only with your permission.
If you run your own platform, there are two ways to connect it. Both are free.
- We adapt to your API. Tell us how it works and we write the adapter on our side. You change nothing.
- You publish our open format. One JSON document at a private URL, described below. We can connect it the same day, without writing code. It is a shortcut, not a requirement.
No API yet? A data feed in your own columns works too.
The data contract, version 1: your catalogue
How it works
- 1.GET catalog.json · Authorization: Bearer <key> · ~02:40 UTC
- 2.The JSON document (up to 8 MB)
- 3.Safety checks + the mapping our team approved
- 4.Prices, sizes and availability updated
You publish one JSON document at a private HTTPS URL.
You protect it with a key. We send it as Authorization: Bearer <key>.
We read it once a night, at around 02:40 UTC: your server sees about one request a day. We follow no redirects, accept up to 8 MB, and retry politely on 429 and 503, honouring Retry-After.
Our team maps your locations and products to our listings once. After that, prices and availability update by themselves.
The document
{
"version": 1,
"generatedAt": "2026-11-27T00:05:00Z",
"currency": "EUR",
"locations": [
{ "id": "loc-001", "name": "Example Workspace Centre", "city": "Berlin", "country": "DE" }
],
"products": [
{
"id": "office-4p-201",
"locationId": "loc-001",
"type": "private_office",
"name": "Office for 4",
"capacity": 4,
"sizeM2": 16,
"availableFrom": "now",
"bookable": false,
"prices": [
{ "period": "month", "amount": 1000, "taxIncluded": false, "commitmentMonths": 1 },
{ "period": "month", "amount": 900, "taxIncluded": false, "commitmentMonths": 12 }
]
},
{
"id": "room-a",
"locationId": "loc-001",
"type": "meeting_room",
"name": "Meeting room A",
"capacity": 6,
"bookable": true,
"prices": [{ "period": "hour", "amount": 30 }, { "period": "halfday", "amount": 100 }]
}
]
}The names and amounts above are examples only.
Fields
| Field | Required | Rule |
|---|---|---|
version | yes | Always 1. |
generatedAt | no | When the document was produced (ISO 8601 date-time). |
currency | no | Default ISO 4217 code (EUR, AED…) for prices that state none. |
locations[].id | yes | Your stable centre id. |
locations[].name | yes | Up to 300 characters. |
locations[].address, city, country, latitude, longitude | no | country as a two-letter code (DE, ES, AE). |
products[].id | yes | Your stable product id. |
products[].type | yes | One of the types below. |
products[].name | yes | Up to 200 characters. |
products[].locationId | no | The id of its location. |
products[].capacity | no | People or desks, greater than 0. |
products[].sizeM2 | no | Size in m², greater than 0. |
products[].availableFrom | no | now or a date YYYY-MM-DD. Leave it out when unknown. |
products[].bookable | no | true if it can be booked online without a sales conversation. |
products[].prices[] | no | Up to 20 prices per product. |
prices[].period | yes | hour, halfday, day, week, month, year or once. |
prices[].amount | yes | A number greater than 0, net unless taxIncluded is true. |
prices[].currency | no | Overrides the document's currency. |
prices[].taxIncluded | no | true if the amount includes VAT. |
prices[].commitmentMonths | no | The term the price assumes (12 = annual contract). Send both the flexible monthly rate and the 12-month rate if they differ. |
Product types: private_office, fix_desk, flex_desk, day_pass, meeting_room, virtual_office, event_space, membership, other.
Ids: letters, digits, ., _, - and /, starting with a letter or digit, up to 120 characters. Keep them stable forever: a reused id is read as the same product.
Limits: up to 5,000 products and 20,000 locations per document, and 8 MB.
Machine-readable schema
The same rules as a JSON Schema (draft 2020-12): partner-catalog-v1.schema.json. Validate your document against it before you send us the URL.
What we never do with it
- We don't resell your stock or publish data you mark as internal.
- We don't show a price that contradicts yours: the nightly update refuses jumps over ±60% and stops if more than 25% of prices move at once.
Version 2: leads, availability and bookings
Version 2 adds calls that write to your system: sending you leads, checking availability and holding bookings. Our side is built, but it stays switched off until you and we agree on it in writing, and you grant the permission in your own system. Read-only (version 1) is the default and needs nothing of this.
- 1.POST /leads → { id, stage: "received" }
- 2.Webhook lead.updated (stage: viewing), signed
- 3.GET /availability?productIds=…&from=…&to=…
- 4.POST /holds → { id, status: "held" }
- 5.POST /holds/{id}/confirm → { status: "confirmed" }
You implement these calls on an API base URL you give us, with the same Authorization: Bearer <key>. Every write carries an Idempotency-Key header: the same key must return the same result and create nothing new.
| Call | Body or query | You return |
|---|---|---|
POST /leads | { idempotencyKey, reference, customer: { name, email, company?, phone? }, seats?, moveIn?, locationId?, productId?, message?, brokerId? } | { id, stage } |
GET /leads/{id} | none | { id, stage } |
GET /availability | ?productIds=a,b&from=<ISO>&to=<ISO> | { slots: [{ productId, from, to, available }] } |
POST /holds | { idempotencyKey, reference, productId, from, to, units?, customer, notes? } | { id, status: "held" | "confirmed", holdExpiresAt? } |
POST /holds/{id}/confirm | { reference } | { id, status } |
POST /bookings/{id}/cancel | {} | { id, status: "cancelled" } |
availableis the number of free units, ortrue/false.- Lead stages:
received,contacted,viewing,proposal,won,lost.
Webhooks (optional, recommended)
Send events to the URL we give you, so we don't have to ask:
{ "events": [ { "id": "evt-123", "type": "lead.updated", "leadId": "L-42", "stage": "viewing" } ] }| Type | Fields |
|---|---|
lead.updated | leadId, stage |
booking.updated | bookingId, status |
availability.changed | productIds |
catalogue.changed | none |
Sign the raw body with the secret we give you and send it as X-CoworkingView-Signature: sha256=<hex HMAC-SHA256>. Give every event a unique id: we ignore repeated ids, so retries are safe, and we answer within milliseconds.
Next step
Write to info@coworkingview.com with the URL of your document, or a short description of your API, and we set up the connection with you. Don't paste keys into that first email: we agree with you how to hand them over.