Skip to Content
CoworkingView Docs
Integrations

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.

  1. We adapt to your API. Tell us how it works and we write the adapter on our side. You change nothing.
  2. 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

Your server
CoworkingView
Your listings
  1. 1.GET catalog.json · Authorization: Bearer <key> · ~02:40 UTC
  2. 2.The JSON document (up to 8 MB)
  3. 3.Safety checks + the mapping our team approved
  4. 4.Prices, sizes and availability updated
Version 1 is a single read per night. Your server only ever answers one GET.

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

catalog.json
{
  "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

FieldRequiredRule
versionyesAlways 1.
generatedAtnoWhen the document was produced (ISO 8601 date-time).
currencynoDefault ISO 4217 code (EUR, AED…) for prices that state none.
locations[].idyesYour stable centre id.
locations[].nameyesUp to 300 characters.
locations[].address, city, country, latitude, longitudenocountry as a two-letter code (DE, ES, AE).
products[].idyesYour stable product id.
products[].typeyesOne of the types below.
products[].nameyesUp to 200 characters.
products[].locationIdnoThe id of its location.
products[].capacitynoPeople or desks, greater than 0.
products[].sizeM2noSize in m², greater than 0.
products[].availableFromnonow or a date YYYY-MM-DD. Leave it out when unknown.
products[].bookablenotrue if it can be booked online without a sales conversation.
products[].prices[]noUp to 20 prices per product.
prices[].periodyeshour, halfday, day, week, month, year or once.
prices[].amountyesA number greater than 0, net unless taxIncluded is true.
prices[].currencynoOverrides the document's currency.
prices[].taxIncludednotrue if the amount includes VAT.
prices[].commitmentMonthsnoThe 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.

CoworkingView
Your API
  1. 1.POST /leads → { id, stage: "received" }
  2. 2.Webhook lead.updated (stage: viewing), signed
  3. 3.GET /availability?productIds=…&from=…&to=…
  4. 4.POST /holds → { id, status: "held" }
  5. 5.POST /holds/{id}/confirm → { status: "confirmed" }
Version 2, only after a written agreement: a lead, then a booking hold. Every write carries an Idempotency-Key.

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.

CallBody or queryYou 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" }
  • available is the number of free units, or true/false.
  • Lead stages: received, contacted, viewing, proposal, won, lost.

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" } ] }
TypeFields
lead.updatedleadId, stage
booking.updatedbookingId, status
availability.changedproductIds
catalogue.changednone

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.

On this page