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/.
Takes no parameters.
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.
Parametersnamelimitoffset
vision6_get_list
Get a contact list
One contact list by id. GET /lists/{list_id}.
Parameterslist_idrequired
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.
Parameterslimitoffsetlist_idrequired
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.
Parametersnametypelimitoffset
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.
Parametersemaillimitfieldsmobileoffsetfilterslist_idrequiredis_activecreated_sincemodified_since
vision6_get_contact
Get a contact
One contact by id within a list, with all fields. GET /lists/{list_id}/contacts/{contact_id}.
Parametersfieldslist_idrequiredcontact_idrequired
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.
Parametersnametypelimitoffsetsubject
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}.
Parametersmessage_idrequiredinclude_content
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.
Takes no parameters.
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.
Parameterslimitfieldsoffsetis_testmessage_idmessage_typecreated_since
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}.
Parametersfieldsreport_idrequiredinclude_socialinclude_ab_test
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.
Parameterslimitoffsetlist_idopen_typereport_idcontact_idmessage_idrequired
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.
Parametersnametyperequiredlimitoffset
vision6_get_transactional_group
Get a transactional group
One transactional group by id with its delivery statistics. GET /transactional-groups/{group_id}.
Parametersgroup_idrequired
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.
Parametersemailfieldsmobilelist_idrequiredis_activedouble_opt_inemail_subscribedmobile_subscribedremove_unsubscribers
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.
Parameterslist_idrequiredcontactsrequiredremove_unsubscribers
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}.
Parametersemailfieldsmobilelist_idrequiredis_activecontact_idrequireddouble_opt_inemail_subscribedmobile_subscribed
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}.
Parametersconfirmrequiredlist_idrequiredcontact_idrequired
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.
Parametersnamerequiredfolder_idrequiredis_gdpr_complianton_update_addresson_register_addresson_unsubscribe_addressallow_send_to_duplicates
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.
Parametersnamerequiredtyperequiredsubjectreply_tofolder_idfrom_nameemail_typecontent_smsis_templatecontent_htmlcontent_textfrom_address+2 more
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}.
Parametersnamesubjectreply_tofolder_idfrom_namemessage_idrequiredcontent_smsis_templatecontent_htmlcontent_textfrom_addressis_responsive+1 more
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 be confirmed in Vision6 first. Pass confirm_send=true only after the user approved these recipients and this content. POST /transactional-sends.
Parameterstyperequiredlist_idsubjectgroup_idreply_tobody_htmlbody_textfrom_namegroup_namemessage_idrecipientsrequiredconfirm_sendrequired+2 more