Convert a contactComing soon
Moves a contact along the path lead → client → professional, keeping their history.
Coming soon. Moves a contact along the path lead → client → professional, keeping their history.
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
contact_id*stringContact id.
1 <= length <= 64Idempotency-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
Contacts move along one path: lead → client → professional.
to*string"client""professional"The converted contact.
application/json- response
A person in your contacts. Only you (and your team, for team contacts) can see this record; the person cannot.
id*stringContact id.
1 <= length <= 64type*ContactTypelead: a potential customer. client: a customer you have worked with. professional: a peer, such as another broker, a notary or a lender.
"lead""client""professional"first_name?|First name, as you entered it.
last_name?|Last name.
display_name*stringName as Matchai shows it.
email?|Email.
emailphone?|Phone, E.164.
company?|Company.
profession?|Profession, in words.
notes?|Your notes.
source*ContactSourceHow the contact reached you: from a listing, your Matchai Site, your Matchai Page, added by hand (direct), a referral, an import, an invitation, a scanned business card, or your own website through the API (website). New values may be added.
"listing""site""page""direct""referral""import""invitation""business_card""website"source_listing_id?|The listing they came through.
1 <= length <= 64matchai_user?|Their Matchai account, when they have one.
conversation_id?|Your direct conversation with them, when there is one.
1 <= length <= 64erased*booleanTrue when the person deleted their Matchai account: their identity is gone, your history with them is kept.
lead?|nullclient?|nullprofessional?|nullcreated_at*stringAdded.
date-timeupdated_at*stringLast changed.
date-timecurl -X POST 'https://api.matchai.co/v1/contacts/string/convert' \ -H 'Idempotency-Key: 6f1d3c2a-0b7e-4f5a-9c8d-1e2f3a4b5c6d' \ -H 'Content-Type: application/json' \ -d '{ "to": "client"}'{ "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"}