Send a website enquiryComing soon
Records a message someone left on your website.
Coming soon. Records a message someone left on your website. Matchai finds the contact by email or phone, or adds them as a lead, files the message and the listing on their record, notifies the account holder and sends lead.created for a new lead. It never writes to the person.
Scopes: contacts: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: contacts: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
A message someone left on your website. Needs an email or a phone number.
first_name?stringFirst name.
1 <= length <= 100last_name?stringLast name.
length <= 100email*unknownphone?stringPhone.
length <= 40message?stringWhat they wrote.
1 <= length <= 4000listing_id?stringThe listing the form was on, if any.
1 <= length <= 64page_url?stringThe page the form was on.
urilanguage?LocaleA language Matchai publishes in: English (en-US), Québec French (fr-CA) or Spanish (es).
"en-US""fr-CA""es"consent_to_contact?booleanThey agreed to be contacted. Required true for follow-up by text message.
The contact the enquiry was filed on.
application/json- response
contact*A person in your contacts. Only you (and your team, for team contacts) can see this record; the person cannot.
created*booleanFalse when the enquiry was added to an existing contact with the same email or phone.
curl -X POST 'https://api.matchai.co/v1/enquiries' \ -H 'Idempotency-Key: 6f1d3c2a-0b7e-4f5a-9c8d-1e2f3a4b5c6d' \ -H 'Content-Type: application/json' \ -d '{ "first_name": "string", "message": "string", "email": null}'{ "contact": { "id": "string", "type": "lead", "first_name": "string", "last_name": "string", "display_name": "string", "email": "user@example.com", "phone": "string", "company": "string", "profession": "string", "notes": "string", "source": "listing", "source_listing_id": "string", "matchai_user": { "user_id": "string", "username": "string", "avatar_url": "http://example.com" }, "conversation_id": "string", "erased": true, "lead": { "stage": "welcome", "temperature": "cold", "readiness": "exploring", "lifecycle_stage": "new", "score": 0, "budget": { "min": 0, "max": 0, "currency": "string" }, "timeline": "string", "preferences": { "bedrooms": 0, "bathrooms": 0, "min_sqft": 0, "max_sqft": 0, "property_types": [ "string" ], "areas": [ "string" ], "features": [ "string" ] }, "updated_at": "2019-08-24T14:15:22Z" }, "client": { "converted_from_lead_at": "2019-08-24T14:15:22Z", "property_interests": [ "string" ], "transactions": [ { "type": "purchase", "date": "2019-08-24", "value": 0, "listing_id": "string", "notes": "string" } ], "preferred_channel": "email" }, "professional": { "relationship": "peer", "specializations": [ "string" ], "referral_count": 0, "notes": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "created": true}