Add a roomComing soon
Adds a room, with its size and floor when you know them. Adding a bedroom or a bathroom raises the listing’s count to match.
Coming soon. Adds a room, with its size and floor when you know them. Adding a bedroom or a bathroom raises the listing’s count to match.
Scopes: listings:write
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: listings:write
listing_id*stringListing id, or its slug.
1 <= length <= 200Idempotency-Key?stringA unique string (a UUID works). Retrying with the same key within 24 hours returns the first response instead of acting twice. Reusing a key with a different body returns 409 idempotency_key_reused.
1 <= length <= 255application/json- body
Give dimension_unit whenever you give a width or a depth. Québec plans usually give metres.
type*stringA space type key from GET /space-types.
1 <= length <= 60name?stringName.
1 <= length <= 120floor_level?stringStorey.
1 <= length <= 40width?numberWidth.
0.5 <= value <= 500depth?numberDepth.
0.5 <= value <= 500dimension_unit?DimensionUnit"feet""meters"flooring?stringFloor covering.
length <= 60notes?stringNote.
length <= 500The new room.
application/json- response
A room or space of the property.
id*stringSpace id.
1 <= length <= 64listing_id*stringListing id.
1 <= length <= 64type*stringA space type key from GET /space-types, for example bedroom.
name?|Name, for example "Primary bedroom".
floor_level?|Storey, for example "Ground" or "2nd".
width?|Width, in dimension_unit.
depth?|Depth, in dimension_unit.
dimension_unit?|nullflooring?|Floor covering, for example "Hardwood".
notes?|Short note about the room.
position*integerOrder on the listing page.
0 <= valuecurl -X POST 'https://api.matchai.co/v1/listings/string/spaces' \ -H 'Idempotency-Key: 6f1d3c2a-0b7e-4f5a-9c8d-1e2f3a4b5c6d' \ -H 'Content-Type: application/json' \ -d '{ "type": "string"}'{ "id": "string", "listing_id": "string", "type": "string", "name": "string", "floor_level": "string", "width": 0, "depth": 0, "dimension_unit": "feet", "flooring": "string", "notes": "string", "position": 0}