add_contacts_to_list | Add existing contacts to a list. Pass exactly one of: emails (array of email strings), ids (array of numeric contact IDs), or extIds (array of external IDs string). |
create_campaign | Create an email campaign draft. Required: name (string). Sender: sender object with email or id + optional name (only one of email or id). Content: exactly one of htmlContent (string, min 10 chars), htmlUrl (string, remote URL), or templateId (long). Also: subject (string, mandatory when abTesting is false), replyTo (string), scheduledAt (ISO 8601), recipients ({listIds?, segmentIds?, exclusionListIds?, exclusionSegmentIds?}). |
create_contact | Create a new contact. Exactly one of email, SMS attribute in attributes, or ext_id is required. Attributes map uses uppercase keys (e.g. {“FNAME”:“John”,“LNAME”:“Doe”}). Optional: listIds (array of long), updateEnabled (boolean, default false to fail on duplicate), emailBlacklisted, smsBlacklisted. |
create_list | Create a contact list. Required: folderId (numeric id of the parent folder, from list_folders), name (string). |
remove_contacts_from_list | Remove contacts from a list. Pass exactly one of: emails (array of email strings), ids (array of numeric contact IDs), extIds (array of external IDs string), or all (boolean true to remove all). |
send_email | Send a transactional email. Required when no templateId: sender (object: email string + optional name string), subject (string), to (array of {email, name?}). Required: htmlContent (string) or textContent (string) or templateId (long integer). Optional: cc, bcc (arrays of {email, name?}), replyTo ({email, name?}), scheduledAt (ISO 8601), attachment (array of {url?, content? base64, name?}). |
send_test_email | Send a test email for an email campaign. Required: emailTo (array of email strings). Optional: language (“en”, “fr”, “de”, “es”, “it”, “pt-BR”, “nl”, “pl”, “sv”, “da”, “tr”, “ja”, “ko”). |
update_contact | Update a contact by email (URL-encoded), numeric ID, or ext_id. Pass identifierType query param as “email_id”, “contact_id”, or “ext_id” when identifier is ambiguous. Body: attributes (uppercase keys), emailBlacklisted, smsBlacklisted, listIds, unlinkListIds, smtpBlacklistSender, ext_id. |