PUT https://api.actonsoftware.com/api/1/list/optin
This endpoint allows you to hide a contact on the opt-out list so they are no longer suppressed. This essentially re-opts in a contact.
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/optin
This endpoint is hidden behind a controlled feature. Accounts must have a specific use case to be given access to this endpoint.
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/optin -H 'authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs' -F file=@/Users/john.doe/Documents/exampleList.csv