Contact List

Contact List objects help you organize your contacts into lists. Every time you send a campaign you must select a recipient contact list. Segmentation can help you target a portion of that list.

post

Create a new contact list

post

/contactslist

Create a new contact list.

Full API path

https://api.mailjet.com/v3/REST/contactslist

Body parameters

IsDeleted

boolean

When true, the contact list will be marked as Deleted. Deleted lists can later be reinstated by updating this value to False.

Name

string

User-specified name for this contact list (must be unique).

Responses

Note: You can find all the errors related to API in the error page

Count

integer

Data

array

IsDeleted

boolean

When true, the contact list will be marked as Deleted. Deleted lists can later be reinstated by updating this value to False.

Name

string

User-specified name for this contact list (must be unique).

Address

string

Unique email address generated by Mailjet, which can be used only via Mailjet's SMTP server to reach all contacts in the list. The full address will be {address}@lists.mailjet.com.

CreatedAt

string

Timestamp of when the contact list was created.

ID

integer

Unique numeric ID assigned to this contact list.

SubscriberCount

integer

Number of contacts registered in this contact list. Includes contacts that were unsubscribed from the list, as well as excluded ones.

Total

integer