Add Opt-Outs to List

Scott Wallace
Scott Wallace
  • Updated
PUT https://api.actonsoftware.com/api/1/list/optout

This endpoint allows you to add records to the opt-out list.

Customers wanting to access our API via our gateway in the EU can use this link: 

PUT https://api-eu.actonsoftware.com/api/1/list/optout

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
(Bearer {access token})
file Body False Required File A CSV format file to upload with one column containing emails only. 

 

Response

{
  "status": "success",
  "message": "1 invalid or empty records rejected. 2 valid records processed.",
  "emptyRecords": 0,
  "rejectedRecords": 1,
  "rejectedRecordsUrl": "bad_optout_records_42152_362447_10.11.8.30_2853174657257890118.dat_bad.csv"
}

 

Code Examples

cURL

curl -X PUT https://api.actonsoftware.com/api/1/list/optout -H 'authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs' -F file=@/Users/john.doe/Documents/exampleList.csv

Was this article helpful?

1 out of 1 found this helpful

Have more questions? Submit a request