create_contact_with_lists
Add new contacts to specific email marketing lists to organize subscribers and target communications effectively.
Instructions
Create new contacts and assign them to specific email lists
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contacts | Yes | Array of contact objects | |
list_ids | Yes | Array of list IDs to add the contact to |
Input Schema (JSON Schema)
{
"properties": {
"contacts": {
"description": "Array of contact objects",
"items": {
"additionalProperties": false,
"properties": {
"custom_fields": {
"additionalProperties": {},
"description": "Custom field values",
"type": "object"
},
"email": {
"description": "Contact email address",
"type": "string"
},
"first_name": {
"description": "First name",
"type": "string"
},
"last_name": {
"description": "Last name",
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"type": "array"
},
"list_ids": {
"description": "Array of list IDs to add the contact to",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"contacts",
"list_ids"
],
"type": "object"
}