Add People To Contact List
add_people_to_listAdd owned contacts to a contact list (list_id, or list_name as its name or slug). Returns added, already_member and not_found (ids that aren't the owner's contacts); a repeat adds nothing. create_if_missing=true creates a list named list_name first. Family follows relationships and is refused (code AUTO_SYNCED_LIST): set the relationship with update_person. undo_contact_change(change_id) removes the ones added. ($0.05; API key required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | No | Contact list id from list_contact_lists. | |
| list_name | No | Contact list name or slug, when list_id is not known. | |
| person_ids | Yes | Contact ids (at most 500). | |
| request_id | No | Client idempotency key (retries return original result). | |
| idempotency_key | No | Alias for request_id. | |
| create_if_missing | No | Create the list named list_name if it does not exist (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | No | Contact list: id, name, slug. | |
| added | No | ||
| account | No | The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer. | |
| message | No | ||
| change_id | No | ||
| not_found | No | ||
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| list_created | No | ||
| already_member | No |