V3 REFERENCE Contact Lists

contactslist/:id/managemanycontacts

Multiple contacts can be uploaded asynchronously using that action.Only POST is supported.

Retrieve the import background job status


curl -s -X GET \
--user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
https://api.mailjet.com/v3/REST/contactslist/:id/managemanycontacts/$JOBid

    
    
Properties
Name Description
Action Action is any of the actions allowed: "addforce", "addnoforce", "remove", "unsub". The action will be applied to the whole list
  • Mandatory
  • [ Type AnsiString ]
Contacts A JSON array. Each contact is represented by its Email, Name, and Properties - a JSON object containing properties values for this contact
  • Mandatory
  • [ Type TAddContactActionList ]

Start a new contacts import background job


curl -s -X POST \
--user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
https://api.mailjet.com/v3/REST/contactslist/:id/managemanycontacts \
-H 'Content-Type: application/json' \
-d '{"Action": ...}'
Properties
Name Description
Action Action is any of the actions allowed: "addforce", "addnoforce", "remove", "unsub". The action will be applied to the whole list
  • Mandatory
  • [ Type AnsiString ]
Contacts A JSON array. Each contact is represented by its Email, Name, and Properties - a JSON object containing properties values for this contact
  • Mandatory
  • [ Type TAddContactActionList ]