Create a listing with AIComing soon
Starts AI listing creation, the same as Create listing in the app.
Coming soon. Starts AI listing creation, the same as Create listing in the app. From photos and a few details, Matchai writes the title, description, highlights, neighbourhood and rooms; from a web page, it imports a listing published elsewhere. The result is always a draft. The run takes a minute or two: poll GET /listing-generations/{generation_id} or wait for listing.generation.completed. The Energy it spends grows with the number of photos.
Spends Matchai Energy. Returns 402 without doing anything when the account does not have enough Energy, or when this connection reached the Energy limit the account holder set for it.
Scopes: listings:write
Pricing: Included with the connection, and spends Matchai Energy.
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
Idempotency-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
Starts AI listing creation. photos writes a complete listing from photos and a few details. web_page imports a listing you already published elsewhere, from its address on the web.
source*string"photos""web_page"photo_urls?array<>For photos: the photos, in the order you want them.
1 <= items <= 60document_ids?array<>For photos: documents to read facts from, for example a seller declaration.
items <= 5url?stringFor web_page: the page to import.
uridetails?Facts you already know. They win over anything read from the photos.
content_locale?LocaleA language Matchai publishes in: English (en-US), Québec French (fr-CA) or Spanish (es).
"en-US""fr-CA""es"team_id?stringCreate the listing for a team you own or administer.
1 <= length <= 64The run has started.
application/json- response
An AI listing creation run. It produces a draft listing; nothing is published.
id*stringRun id.
1 <= length <= 64status*string"queued""running""succeeded""failed"source*string"photos""web_page"listing_id?|The draft listing, once the run has created it.
1 <= length <= 64step?|What the run is doing now, in plain words, for example "Writing the description".
error?|nullcreated_at*stringStarted.
date-timecompleted_at?|Finished.
date-timecurl -X POST 'https://api.matchai.co/v1/listing-generations' \ -H 'Idempotency-Key: 6f1d3c2a-0b7e-4f5a-9c8d-1e2f3a4b5c6d' \ -H 'Content-Type: application/json' \ -d '{ "source": "photos"}'{ "id": "string", "status": "queued", "source": "photos", "listing_id": "string", "step": "string", "error": { "code": "string", "message": "string" }, "created_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z"}