Skip to content

Managing Contacts

Contacts represent the people in your CRM — customers, users, or any individual you want to associate with campaigns or feedback.

contact = client.contacts.create({
"name": "Jane",
"lastname": "Smith",
"email": "jane.smith@example.com",
"companyId": "YOUR_COMPANY_ID",
})
print(contact["id"])
FieldTypeDescription
namestringFirst name
lastnamestringLast name
emailstringEmail address (must be unique per company)
companyIdstringYour company identifier
contacts = client.contacts.get()

Filter with a LoopBack-style dict (see Querying):

contacts = client.contacts.get({
"where": {"companyId": "YOUR_COMPANY_ID"},
"limit": 100,
})

Pass only the fields you want to change:

updated = client.contacts.update(contact["id"], {
"name": "Janet",
})
client.contacts.delete(contact["id"])