Selzy MCP by usefulapi

v1.2.1
io.usefulapi/selzy Checked 3 days ago Published 1 day ago

Read lists, contacts and campaigns; add or unsubscribe contacts in Selzy.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

selzy_get_lists List contact lists

Get all contact lists in the account (id and title). Use the ids in other tools. Selzy method: getLists.

selzy_get_fields List custom fields

Get the contact fields of the account (name, type, visibility). Selzy method: getFields.

selzy_get_tags List tags

Get the contact tags of the account (id and name). Selzy method: getTags.

selzy_get_contact Get a contact

Get one contact by email: status (new, invited, active, inactive, excluded, unsubscribed), added date, and optionally its lists, custom fields and details. Selzy method: getContact.

ParameterTypeDescription
email *stringContact email address.
include_detailsbooleanInclude extra details (for example tags and activity).
include_fieldsbooleanInclude the custom field values.
include_listsbooleanInclude the lists the contact is in.

selzy_get_contact_count Count contacts in a list

Count the contacts in one list, optionally filtered by tag id, contact type (address or phone) and a substring of the email or phone. Selzy method: getContactCount.

ParameterTypeDescription
list_id *integerList id (from selzy_get_lists).
searchstringSubstring of the email or phone (use with type).
tag_idintegerFilter by tag id (from selzy_get_tags).
typestringFilter by contact type.

selzy_is_contact_in_lists Check contact list membership

Check whether a contact is in some or all of the given lists. condition 'or' = in at least one list; 'and' = in all lists. Selzy method: isContactInLists.

ParameterTypeDescription
email *stringContact email address.
list_ids *stringComma-separated list ids (from selzy_get_lists).
conditionstring'or' = in any of the lists, 'and' = in all of them.

selzy_list_campaigns List campaigns

List campaigns that started in a time window (UTC), for reporting. Returns at most 10,000 per call; use offset to page. Selzy method: getCampaigns.

ParameterTypeDescription
fromstringStart of the window, YYYY-MM-DD hh:mm:ss (UTC).
limitintegerRecords per call (1-10000).
offsetintegerPosition to start from (0 = first).
tostringEnd of the window, YYYY-MM-DD hh:mm:ss (UTC).

selzy_get_message Get a message

Get one email or SMS message by id: sender, subject and statistics fields that the account returns. Selzy method: getMessage.

ParameterTypeDescription
id *integerMessage id (from selzy_list_campaigns).

selzy_subscribe Add a contact to lists

Add a contact (email and/or phone) to one or more lists, with optional tags and custom fields. For an email contact, Selzy sends a confirmation email first (double opt-in), so the contact must confirm. Selzy method: subscribe.

ParameterTypeDescription
list_ids *stringComma-separated list ids (from selzy_get_lists).
emailstringContact email address.
fieldsobjectCustom field values, keyed by field name (from selzy_get_fields).
phonestringPhone in international format.
tagsarrayUp to 10 tag names to add to the contact.

selzy_unsubscribe Unsubscribe a contact

Mark an email contact as unsubscribed from some or all lists. Only the contact can make it active again (by its own confirmation link). Selzy method: unsubscribe.

ParameterTypeDescription
email *stringContact email address.
list_idsstringLists to unsubscribe from. Omit for all lists.