add_contact_to_automation | Add a contact to an automation. Body: { contactAutomation: { contact (integer, contact ID), automation (integer, automation ID) } }. |
add_contact_to_list | Subscribe or unsubscribe a contact from a list. Body: { contactList: { list (integer, list ID), contact (integer, contact ID), status (integer: 1=subscribed, 2=unsubscribed) } }. |
add_note_to_contact | Add a note to a contact. Body: { note: { note (string, required), relid (integer, contact ID), reltype (“Subscriber”) } }. |
add_tag_to_contact | Apply a tag to a contact. Body: { contactTag: { contact (integer, contact ID), tag (integer, tag ID) } }. |
create_contact | Create a new contact. Body: { contact: { email (string, required), firstName (string), lastName (string), phone (string), fieldValues ([{field, value}]) } }. |
create_deal | Create a deal. Body: { deal: { title (string, required), value (integer, cents), currency (string, e.g. “USD”), group (integer, pipeline ID), stage (integer, stage ID), owner (integer, user ID), contact (integer or email string), status (integer: 0=open, 1=won, 2=lost) } }. At least one of group or stage is required. |
create_tag | Create a new tag. Body: { tag: { tag (string, name, required), tagType (“contact” or “template”), description (string) } }. |
remove_tag_from_contact | Remove a tag association from a contact. The path param is the contactTag ID (not the tag ID). Use list_contact_tags to find it. |
sync_contact | Upsert a contact by email (update if exists, create otherwise). Body: { contact: { email (string, required), firstName, lastName, phone, fieldValues ([{field, value}]), tags ([string]) } }. |
update_contact | Update a contact by ID. Body: { contact: { email, firstName, lastName, phone, fieldValues ([{field, value}]) } }. Only include fields to change. |
update_deal | Update a deal by ID. Body: { deal: { title, value, currency, group, stage, owner, contact, status } }. Only include fields to change. |