Upsert Contact
Create a new contact or update an existing one. Contacts are identified by email or cnvContactId. If the contact exists, its fields are updated; if not, a new contact is created.
post/v2/contacts
Request
- Base URLhttps://pub-api.conversion.ai/api
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
Request body
Example request
{
"email": "jane@example.com",
"cnvContactId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fields": {
"first_name": "Jane",
"last_name": "Smith",
"job_title": "VP of Marketing"
},
"companyFields": {
"company_name": "Acme Corp",
"industry": "Technology"
}
}Response
Contact upserted successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.