Unsubscribe contacts from csv

Unsubscribe contacts from csv. The CSV format is "email" and "externalCode" is optional.

  email,externalCode
  [email protected],ext1
  email
  [email protected]

If the contact already exists, their unsubscribeAll field will be set to true. If the contact does not exist, it will be created with the unsubscribeAll field set to true. The externalCode will only be set for new contacts and is optional. In the case of repeated emails with different externalCode values, only the last entry will be preserved.

Body Params
file
required

CSV file containing contacts to unsubscribe

integer
required

ID of the application the contacts belong to

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json