Leads
The two write endpoints: POST /v1/leads/inquiry and /v1/leads/contact. Request fields, idempotency and when not to call them.
These are the only two endpoints that write. Each call creates a real enquiry that a person answers.
Not for testing, not for unattended clients
Don't call these endpoints to test your integration or to "check availability". In production they require a token from a human-verification challenge, and only the official CoworkingView website and apps can obtain one. A third-party or unattended client (a script, an agent, a backend job) can't complete a request: send the person to the enquiry form on the website instead, or hand them the enquiry link that the MCP server or the API gives you.
This page documents the request and response shapes so that you can read the OpenAPI document or the official clients with confidence. It deliberately has no runnable example.
Which endpoint
| Endpoint | Use it for |
|---|---|
POST /v1/leads/inquiry | An enquiry about one space or a shortlist of up to 20. |
POST /v1/leads/contact | A general message to the CoworkingView team, not tied to a space. |
Both take a JSON body (Content-Type: application/json) and answer in the usual envelope. Base URL: https://api.coworkingview.com.
Fields both share
| Field | Type | Notes |
|---|---|---|
name | string | Required. 1 to 120 characters. |
email | string | Required. A valid email, up to 200 characters. A person will reply here. |
locale | en | de | es | Required. |
phone | string | Optional. Up to 40 characters. |
company | string | Optional. Up to 160 characters. |
message | string | Optional. Up to 4000 characters. |
challengeToken | string | Token of the human-verification challenge. Up to 4000 characters. Required in production. |
attribution | object | Optional. source (web or app, required inside the object), and optionally firstTouch and lastTouch (up to 200 characters each), campaign (up to 120) and viewedProperties (up to 50 slugs). |
gclid, gbraid, wbraid, utm_source, utm_medium, utm_campaign, utm_term, utm_content, landing_url, click_ts | string | Optional campaign-tracking values. A value that doesn't fit is dropped, it never rejects the enquiry. |
website | string | Leave this field empty. |
Inquiry: extra fields
| Field | Type | Notes |
|---|---|---|
properties | string[] | Required. 1 to 20 space slugs. |
desks | integer | Optional. Number of workstations, 1 to 1000. |
moveInDate | string | Optional. A date, YYYY-MM-DD. |
duration | enum | Optional. How long: hours, days, weeks, months or years. |
Contact: extra fields
| Field | Type | Notes |
|---|---|---|
subject | string | Optional. Up to 200 characters. |
Response
{ "data": { "received": true, "reference": "0b8f6a52-2a3e-4c4e-9f0e-6f1d2b7c9e10" }, "meta": { "contractVersion": "1.0.0" } }reference is an opaque id the person can quote when they write to us. Without a valid challenge token, production answers CHALLENGE_FAILED; see Errors.
Retrying safely: Idempotency-Key
Send an Idempotency-Key header (any unique string up to 200 characters, for example a UUID per logical submission) so a retry never creates a second enquiry.
| You send | You get |
|---|---|
| The same key and the same body again | The first response, replayed, with the header Idempotency-Replayed: true. No second enquiry. |
| The same key with a different body | 422 with code IDEMPOTENCY_KEY_CONFLICT. This is a client bug. |
| A key longer than 200 characters | 400, validation failed. |
| No key | Every request is executed. |
Server errors (5xx) aren't stored, so you can retry them under the same key.
What happens next
CoworkingView forwards the enquiry to the operator. We are not a party to any contract: the operator confirms availability and price. A person replies to the email address given, so use only the details of the person who asked.
Market rates and profiles
Price statistics per city, operator and place profiles, and the health check: GET /v1/market/rates, /v1/operators/{slug}, /v1/places/{kind}/{slug} and /v1/health.
Examples
Copy-paste requests for the public API in curl, JavaScript and Python: health, geography, search, listings, detail, market rates and profiles.