Manage contacts within lists. Contacts are individual email subscribers with an email address, subscription status, custom attributes, tags, and interests. Supports creating, importing, updating, unsubscribing, and deleting contacts. Bulk operations are available for tagging and interest management. Contact data can be exported to CSV files.
Add interest(s) to contact(s)
Add interests to multiple contacts at once. Contacts can be specified by ID list or by a filter query. Interests are used for preference-based segmentation.
Required scope(s): contacts:write
path Parameters
list_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Add interest(s) to contact(s) › Request Body
interestscontact_idsqueryfiqljsonAdd interest(s) to contact(s) › Responses
Successful Response
objectObject type
addedWhether interests were added
Show contacts of a list
List all contacts in a list with pagination. Supports filtering by contact attributes using SQL-like queries, FIQL, or JSON query format. Results can be sorted by email, status, or subscription date.
Required scope(s): contacts:read
path Parameters
list_idquery Parameters
querySQL selection query (only use one of query, fiql and json)
SQL selection query (only use one of query, fiql and json)
jsonJSON selection expression (only use one of query, fiql and json)
JSON selection expression (only use one of query, fiql and json)
cursorCursor pagination
Cursor pagination
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
pageper_pagewith_countInclude count in the response
Include count in the response
sortSort term and direction, using syntax [-|+]term.
Valid terms:
idemailstatussubscribed_onlast_bounce_typebounces_count
Sort term and direction, using syntax [-|+]term.
Valid terms:
idemailstatussubscribed_onlast_bounce_typebounces_count
filterValid Terms:
statusemailtagsinterests
Valid Operators:
==
Query separator:
;
Valid Terms:
statusemailtagsinterests
Valid Operators:
==
Query separator:
;
fiqlShow contacts of a list › Responses
Successful Response
Add a contact
Add a single contact to a list. Optionally trigger a double opt-in
confirmation email. If the contact already exists and is unsubscribed,
set resubscribe to true to re-activate them.
Required scope(s): contacts:write
path Parameters
list_idquery Parameters
send_double_opt_inDefault: 'false'
Send a double opt-in/confirmation email
- new : send only if the email is new to the list
- not_active : send only if the contact is not already active
- true : send the email regardless of contact status
- false : do not send the email
resubscribeaccount_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Add a contact › Request Body
emailContact's email address
Custom attributes to set on the contact
Add a contact › Responses
Successful Response
idobjectcreatedShow contacts of a segment
List contacts matching a segment's filter criteria. The segment's query is combined with any additional filters provided in the request.
Required scope(s): contacts:read
path Parameters
segment_idlist_idquery Parameters
querySQL selection query (only use one of query, fiql and json)
SQL selection query (only use one of query, fiql and json)
jsonJSON selection expression (only use one of query, fiql and json)
JSON selection expression (only use one of query, fiql and json)
cursorCursor pagination
Cursor pagination
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
pageper_pagewith_countInclude count in the response
Include count in the response
sortSort term and direction, using syntax [-|+]term.
Valid terms:
idemailstatussubscribed_onlast_bounce_typebounces_count
Sort term and direction, using syntax [-|+]term.
Valid terms:
idemailstatussubscribed_onlast_bounce_typebounces_count
filterValid Terms:
statusemailtagsinterests
Valid Operators:
==
Query separator:
;
Valid Terms:
statusemailtagsinterests
Valid Operators:
==
Query separator:
;
fiqlShow contacts of a segment › Responses
Successful Response
Tags multiple contacts
Add tags to multiple contacts at once. Contacts can be specified by ID list or by a filter query.
Required scope(s): contacts:write
path Parameters
list_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Tags multiple contacts › Request Body
tagscontact_idsquerySQL-like expression
fiqljsonTags multiple contacts › Responses
Successful Response
taggedUntags multiple contacts
Remove tags from multiple contacts at once. Contacts can be specified by ID list or by a filter query.
Required scope(s): contacts:write
path Parameters
list_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Untags multiple contacts › Request Body
tagscontact_idsquerySQL-like expression
fiqljsonUntags multiple contacts › Responses
Successful Response
untaggedShow a contact details
Retrieve the full details of a contact, including email, subscription status, custom attributes, tags, and interests.
Required scope(s): contacts:read
path Parameters
list_idcontact_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Show a contact details › Responses
Successful Response
Delete a contact
Delete a contact from a list. The contact's data is permanently removed.
Required scope(s): contacts:delete
path Parameters
list_idcontact_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Delete a contact › Responses
Successful Response
idobjectdeletedUpdate a contact
Update a contact's email, custom attributes, tags, or interests. All fields are optional — only provided fields are updated. Tags and interests are replaced with the provided values.
Required scope(s): contacts:write
path Parameters
list_idcontact_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Update a contact › Request Body
emailContact's email address
Custom attributes to set on the contact
interestsInterests to assign to the contact
tagsTags to assign to the contact
Update a contact › Responses
Successful Response
idobjectupdatedImport contacts
Synchronize your own list by importing to your active, unsubscribed or deleted contacts.
Required scope(s): contacts:import
path Parameters
list_idquery Parameters
send_double_opt_inDefault: 'false'
Send a double opt-in/confirmation email
- new : send only if the email is new to the list
- not_active : send only if the contact is not already active
- true : send the email regardless of contact status
- false : do not send the email
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Import contacts › Request Body
List of contacts to import
import_toAn enumeration.
contact_detailsInclude detailed contact information in the response. When false, returns only ID and email.
resubscribeResubscribe previously unsubscribed contacts
remove_tagsTags are removed if omitted.
remove_interestsInterests are removed if omitted.
Import contacts › Responses
Successful Response
idIDs of successfully imported contacts
import_idUnique identifier for this import batch
objectObject type
importedWhether the import succeeded
Imported contact details
Errors encountered during import
Unsubscribe a contact from a list
Unsubscribe a contact from a list. The contact remains in the list but will no longer receive campaigns.
Required scope(s): contacts:write
path Parameters
list_idcontact_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Unsubscribe a contact from a list › Responses
Successful Response
objectObject type
subscribedSubscription status of the contact
Tags a contact
Add tags to a single contact. Deprecated — use the bulk tag endpoint instead.
Required scope(s): contacts:write
path Parameters
list_idcontact_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Tags a contact › Responses
Successful Response
taggedUntags a contact
Remove tags from a single contact. Deprecated — use the bulk untag endpoint instead.
Required scope(s): contacts:write
path Parameters
list_idcontact_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Untags a contact › Responses
Successful Response
untaggedRemove interest(s) from contact(s)
Remove interests from multiple contacts at once. Contacts can be specified by ID list or by a filter query.
Required scope(s): contacts:write
path Parameters
list_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Remove interest(s) from contact(s) › Request Body
interestscontact_idsqueryfiqljsonRemove interest(s) from contact(s) › Responses
Successful Response
objectObject type
removedWhether interests were removed
Show all Contacts Exports
Show all Contacts Exports.
Required scope(s): contacts:export
path Parameters
list_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
pageper_pagewith_countInclude count in the response
Include count in the response
sortSort term and direction, using syntax [-|+]term.
Valid terms:
statuscreated_onexpires_on
Sort term and direction, using syntax [-|+]term.
Valid terms:
statuscreated_onexpires_on
filterValid Terms:
statusprogress
Valid Operators:
==
Query separator:
;
Valid Terms:
statusprogress
Valid Operators:
==
Query separator:
;
Show all Contacts Exports › Responses
Successful Response
List of contact exports
Create a Contacts Export
Create a Contacts Export to a CSV file.
Required scope(s): contacts:export
path Parameters
list_idquery Parameters
descriptionqueryjsonsegment_idaccount_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
filterValid Terms:
statusemailtagsinterests
Valid Operators:
==
Query separator:
;
Valid Terms:
statusemailtagsinterests
Valid Operators:
==
Query separator:
;
fiqlCreate a Contacts Export › Responses
Successful Response
idID of the created export task
objectObject type
createdWhether the export was created
Show a Contacts Export
Show a Contacts Export.
Required scope(s): contacts:export
path Parameters
export_idlist_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Show a Contacts Export › Responses
Successful Response
Delete a Contacts Export
Delete a Contacts Export.
Required scope(s): contacts:export
path Parameters
export_idlist_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Delete a Contacts Export › Responses
Successful Response
idID of the deleted export
objectObject type
deletedWhether the export was deleted
Download a Contacts Export
Download a Contacts Export.
Required scope(s): contacts:export
path Parameters
export_idlist_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Download a Contacts Export › Responses
Successful Response