Update a contactComing soon
Changes the details you keep about a contact. What you type here never changes the person’s own Matchai profile.
Coming soon. Changes the details you keep about a contact. What you type here never changes the person’s own Matchai profile.
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 <= 64application/json- body
1 <= propertiesfirst_name?stringFirst name.
1 <= length <= 100last_name?|Last name.
length <= 100email?|Email.
emaillength <= 254phone?|Phone.
length <= 40company?|Company.
length <= 200profession?|Profession.
length <= 120notes?|Notes.
length <= 2000The 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 PATCH 'https://api.matchai.co/v1/contacts/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "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"}