Manage contacts
contacts_manageChange contacts. create (firstName required; tags by name), update (omitted fields unchanged), delete (soft; confirm first), merge (keepId + mergeIds: duplicates folded in, then deleted; confirm), restore (ids from contacts_list deleted), bulk_update (ids + set {city, source, position, companyId, status} and/or customField).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Required for: update, delete. | |
| ids | No | Required for: bulk_update; optional for: restore. restore: deleted ids. | |
| set | No | bulk_update: { city?, source?, position?, companyId?, status? }. | |
| tags | No | Tag names; missing ones are created. | |
| No | Used by: create, update. | ||
| notes | No | Used by: create, update. | |
| phone | No | Used by: create, update. Normalised to E.164. | |
| action | Yes | ||
| keepId | No | merge: the contact that stays. | |
| status | No | Used by: create, update. Status name; default if omitted. | |
| lastName | No | Used by: create, update. | |
| mergeIds | No | merge: the duplicates folded into it. | |
| position | No | Used by: create, update. Job title. | |
| companyId | No | Used by: create, update. | |
| deletedAt | No | restore: a deleted_at (undoes that whole delete). | |
| firstName | No | Required for: create; optional for: update. | |
| customField | No | bulk_update: { key (field id or key), value }. |