Skip to Content
CoworkingView Docs
Public API

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

EndpointUse it for
POST /v1/leads/inquiryAn enquiry about one space or a shortlist of up to 20.
POST /v1/leads/contactA 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

FieldTypeNotes
namestringRequired. 1 to 120 characters.
emailstringRequired. A valid email, up to 200 characters. A person will reply here.
localeen | de | esRequired.
phonestringOptional. Up to 40 characters.
companystringOptional. Up to 160 characters.
messagestringOptional. Up to 4000 characters.
challengeTokenstringToken of the human-verification challenge. Up to 4000 characters. Required in production.
attributionobjectOptional. 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_tsstringOptional campaign-tracking values. A value that doesn't fit is dropped, it never rejects the enquiry.
websitestringLeave this field empty.

Inquiry: extra fields

FieldTypeNotes
propertiesstring[]Required. 1 to 20 space slugs.
desksintegerOptional. Number of workstations, 1 to 1000.
moveInDatestringOptional. A date, YYYY-MM-DD.
durationenumOptional. How long: hours, days, weeks, months or years.

Contact: extra fields

FieldTypeNotes
subjectstringOptional. 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 sendYou get
The same key and the same body againThe first response, replayed, with the header Idempotency-Replayed: true. No second enquiry.
The same key with a different body422 with code IDEMPOTENCY_KEY_CONFLICT. This is a client bug.
A key longer than 200 characters400, validation failed.
No keyEvery 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.

On this page