Vision6 MCP by usefulapi

v1.20.1
io.usefulapi/vision6 Checked 3 days ago Published 1 day ago

Read Vision6 lists, contacts, messages and reports; update contacts; send transactional email/SMS.

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

vision6_get_account Get API key details

Details of the API key this server uses: the scopes it grants (e.g. list.view, contact.create, message.edit, report.view) and its creation/expiry time. Use it to see why a request is refused. GET /v1/.

vision6_list_lists List contact lists

List the account's contact lists with id, name, creation/modification time and notification settings. Filter by exact name. GET /lists.

ParameterTypeDescription
limitintegerResults per page, 1-1000 (default 50).
namestringExact list name.
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.

vision6_get_list Get a contact list

One contact list by id. GET /lists/{list_id}.

ParameterTypeDescription
list_id *integer

vision6_list_list_fields List a list's fields

The fields (columns) of a contact list: label, type (email, mobile, text, dropdown, date ...), allowed values and whether they are mandatory. The lowercase underscore form of a label is the key used for contact values and filters. GET /lists/{list_id}/fields.

ParameterTypeDescription
list_id *integer
limitintegerResults per page, 1-1000 (default 50).
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.

vision6_list_folders List folders

List the account's folders (list folders and message folders) with id, name, type and size. Needed for the folder id when creating a list or message. GET /folders.

ParameterTypeDescription
limitintegerResults per page, 1-1000 (default 50).
namestring
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
typestringFolder type, e.g. list or message.

vision6_list_contacts List contacts

List the contacts of one list: email, mobile, subscribed/blocked status, active flag, double opt-in and the list's custom fields. Filter by email, mobile, active flag, creation/modification time or any custom field (`filters`, e.g. {"city":"Brisbane"} or {"source:ne":"promo"}). GET /lists/{list_id}/contacts.

ParameterTypeDescription
list_id *integer
created_sincestringOnly contacts created at or after this UTC timestamp.
emailstringExact email address.
fieldsstringOptional comma separated list of response fields to return, e.g. id,email.
filtersobjectCustom field filters: key = lowercase field key, optionally with :ne or :in (comma separated values), e.g. {"state:in":"qld,nsw"}.
is_activeboolean
limitintegerResults per page, 1-1000 (default 50).
mobilestringExact mobile number (international format without +).
modified_sincestringOnly contacts changed at or after this UTC timestamp.
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.

vision6_get_contact Get a contact

One contact by id within a list, with all fields. GET /lists/{list_id}/contacts/{contact_id}.

ParameterTypeDescription
contact_id *integer
list_id *integer
fieldsstringOptional comma separated list of response fields to return, e.g. id,email.

vision6_list_messages List messages

List saved email and SMS messages (templates and campaigns) with id, type, name, subject and sender. Filter by type or exact name/subject. GET /messages.

ParameterTypeDescription
limitintegerResults per page, 1-1000 (default 50).
namestringExact message name.
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
subjectstringExact subject.
typestring

vision6_get_message Get a message

One message by id. With include_content=true the HTML and plain-text body is included. GET /messages/{message_id}.

ParameterTypeDescription
message_id *integer
include_contentbooleanAlso return the message body (body_html, body_text). Can be large.

vision6_get_message_sender_defaults Get default sender details

The account's default from name, from address and reply-to, applied to new email messages when you omit them. GET /message-sender-defaults.

vision6_list_reports List send reports

Send reports for campaigns, newest first: message name, type, sent, bounced, opened, unique clicks, unsubscribes, complaints, total recipients and last sent time. Filter by message, type, test sends or creation time. Click and domain breakdowns are only returned when requested via `fields`. GET /reports.

ParameterTypeDescription
created_sincestringOnly reports created at or after this UTC timestamp.
fieldsstringOptional comma separated list of response fields to return, e.g. id,email.
is_testbooleanfalse = only real campaign sends, true = only test sends.
limitintegerResults per page, 1-1000 (default 50).
message_idinteger
message_typestring
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.

vision6_get_report Get a send report

One send report by id with all delivery and engagement counts, per-link click counts and recipient domain distribution. Optionally includes A/B test results and social click/share statistics. GET /reports/{report_id}.

ParameterTypeDescription
report_id *integer
fieldsstringOptional comma separated list of response fields to return, e.g. id,email.
include_ab_testbooleanInclude A/B test variant statistics (only for A/B test reports).
include_socialbooleanInclude Facebook/Twitter/LinkedIn click and share statistics.

vision6_list_sent_contacts List contacts a message was sent to

The contacts one message was sent to, with send time, first/last open time and open type (html, text, sms or not_opened). Use it to see who opened a campaign. GET /messages/{message_id}/sent-contacts.

ParameterTypeDescription
message_id *integer
contact_idinteger
limitintegerResults per page, 1-1000 (default 50).
list_idinteger
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.
open_typestring
report_idintegerOnly sends belonging to this report.

vision6_list_transactional_groups List transactional groups

Transactional send groups (one per group name used with vision6_send_transactional) with sent, failed, bounced, delivered, opened, clicked and unsubscribed counts. GET /transactional-groups.

ParameterTypeDescription
type *stringGroup type (the reference marks it required; call once per type).
limitintegerResults per page, 1-1000 (default 50).
namestringExact group name.
offsetintegerSkip this many results (default 0). Pass the previous reply's next_offset.

vision6_get_transactional_group Get a transactional group

One transactional group by id with its delivery statistics. GET /transactional-groups/{group_id}.

ParameterTypeDescription
group_id *integer

vision6_create_contact Create a contact

WRITE: add one contact to a list (needs an email and/or mobile that matches a field of the list). May trigger the list's 'contact created' automations and notification emails. Returns the new contact. POST /lists/{list_id}/contacts.

ParameterTypeDescription
list_id *integer
double_opt_inbooleantrue marks the contact as already confirmed (sets the double opt-in time to now). It cannot be reset to false afterwards.
emailstringEmail address (the list must have an Email field).
email_subscribedbooleanWhether the email address is subscribed to receive messages.
fieldsobjectCustom list field values, keyed by the lowercase key of the field name (underscores for spaces/dashes, e.g. first_name). Use vision6_list_list_fields to see the list's fields.
is_activebooleanThe contact's active status.
mobilestringMobile number in international format without + or spaces (Australia: 61400000009). The list must have a Mobile field.
mobile_subscribedbooleanWhether the mobile number is subscribed to receive messages.
remove_unsubscribersstringSkip addresses that are on the unsubscribers list: any (account-wide), list (this list), none (default: create everyone).

vision6_add_contacts Add several contacts

WRITE: add up to 200 contacts to a list in one request (faster than one by one). Each needs an email and/or mobile. Vision6 returns no contact data (HTTP 204), so use vision6_list_contacts to read them back. May trigger automations. POST /lists/{list_id}/contacts.

ParameterTypeDescription
contacts *array
list_id *integer
remove_unsubscribersstringSkip addresses that are on the unsubscribers list: any (account-wide), list (this list), none (default: create everyone).

vision6_update_contact Update a contact

WRITE: change one contact's email, mobile, custom field values, subscription status (email_subscribed/mobile_subscribed=false unsubscribes), active flag or double opt-in. Only the fields you pass change. May trigger 'contact updated' automations. Returns the updated contact. PATCH /lists/{list_id}/contacts/{contact_id}.

ParameterTypeDescription
contact_id *integer
list_id *integer
double_opt_inbooleantrue marks the contact as already confirmed (sets the double opt-in time to now). It cannot be reset to false afterwards.
emailstringEmail address (the list must have an Email field).
email_subscribedbooleanWhether the email address is subscribed to receive messages.
fieldsobjectCustom list field values, keyed by the lowercase key of the field name (underscores for spaces/dashes, e.g. first_name). Use vision6_list_list_fields to see the list's fields.
is_activebooleanThe contact's active status.
mobilestringMobile number in international format without + or spaces (Australia: 61400000009). The list must have a Mobile field.
mobile_subscribedbooleanWhether the mobile number is subscribed to receive messages.

vision6_delete_contact Delete a contact

WRITE, IRREVERSIBLE: permanently delete one contact from a list (for example for a privacy erasure request). To stop emailing someone but keep the record, use vision6_update_contact with email_subscribed=false instead. Pass confirm=true only after the user agreed to the deletion. DELETE /lists/{list_id}/contacts?id={contact_id}.

ParameterTypeDescription
confirm *booleanMust be true: you confirm the user asked to permanently delete this contact.
contact_id *integer
list_id *integer

vision6_create_list Create a contact list

WRITE: create a new, empty contact list inside a list folder (see vision6_list_folders with type list). Returns the new list. POST /lists.

ParameterTypeDescription
folder_id *integerId of the list folder to create the list in.
name *string
allow_send_to_duplicatesbooleanAllow sends to duplicate email or mobile addresses.
is_gdpr_compliantboolean
on_register_addressarrayEmail addresses to notify when a contact is added.
on_unsubscribe_addressarrayEmail addresses to notify when a contact unsubscribes.
on_update_addressarrayEmail addresses to notify when a contact is updated.

vision6_create_message Create a message (draft)

WRITE: save a new email or SMS message in Vision6. This only stores the message; it is NOT sent (use the Vision6 app to send a campaign, or vision6_send_transactional for a one-off send). Email needs email_type, subject and matching body fields (plain: content_text; html: content_html; plain-html: both; raw_html: content_html or content_html_raw). SMS needs content_sms. The drag-and-drop builder is not supported. POST /messages.

ParameterTypeDescription
name *stringDisplay name of the message in Vision6.
type *string
content_htmlstringHTML body (email types html and plain-html; raw_html accepts it or content_html_raw).
content_html_rawstringRaw HTML document (email type raw_html).
content_smsstringSMS text (required for an sms message; keep it near 500 characters).
content_textstringPlain-text body (email types plain and plain-html).
email_typestringRequired for email.
folder_idintegerMessage folder id (see vision6_list_folders with type message). Omit to use the account's first message folder.
from_addressstringSender address. For email it must be a verified address/domain in the account. Omit to use the account's saved default (see vision6_get_message_sender_defaults).
from_namestring
is_responsivebooleanResponsive HTML flag (email).
is_templatebooleanMark the message as reusable starter content.
reply_tostring
subjectstringEmail subject line (required for email). Supports wildcards like %%first_name**there%%.

vision6_update_message Update a message

WRITE: change a saved message's name, subject, sender, folder or body. Only the fields you pass change. It does not send anything. PATCH /messages/{message_id}.

ParameterTypeDescription
message_id *integer
content_htmlstringHTML body (email types html and plain-html; raw_html accepts it or content_html_raw).
content_html_rawstringRaw HTML document (email type raw_html).
content_smsstringSMS text (required for an sms message; keep it near 500 characters).
content_textstringPlain-text body (email types plain and plain-html).
folder_idintegerMessage folder id (see vision6_list_folders with type message). Omit to use the account's first message folder.
from_addressstringSender address. For email it must be a verified address/domain in the account. Omit to use the account's saved default (see vision6_get_message_sender_defaults).
from_namestring
is_responsivebooleanResponsive HTML flag (email).
is_templatebooleanMark the message as reusable starter content.
namestringDisplay name of the message in Vision6.
reply_tostring
subjectstringEmail subject line (required for email). Supports wildcards like %%first_name**there%%.

vision6_send_transactional Send a transactional email or SMS

WRITE: SENDS REAL EMAIL OR SMS to the recipients immediately (asynchronously) and USES ACCOUNT SENDING CREDITS. It cannot be recalled. Up to 100 recipients per call, each identified by exactly one of contact_id, email or mobile, plus optional personalisation values (wildcards %%key%% in the body). Either send a saved message (message_id) or custom content (subject/body_html/body_text, and for SMS body_text + from_address). Unsubscribed addresses are skipped. Email always needs list_id. Results appear in the transactional group (vision6_get_transactional_group). The account owner's email must b…

ParameterTypeDescription
confirm_send *booleanMust be true: you confirm the user approved sending this email/SMS now (it cannot be recalled and uses credits).
recipients *array
type *string
body_htmlstringCustom HTML body (email, without message_id).
body_textstringCustom plain-text body (email or SMS, without message_id).
from_addressstringVerified sender email address, or the sender mobile number for SMS.
from_namestring
group_idinteger
group_namestringName of the transactional group that collects the results (created if new). One of group_name or group_id is required.
list_idintegerList the recipients belong to (required for email; optional for SMS).
message_idintegerA saved message to send. Do not combine with custom content.
reply_tostring
subjectstringCustom email subject (without message_id).
unsubscribe_typestringSMS with custom content only: how recipients can opt out.