Variable | Type | Description |
---|---|---|
list_id | int|string | The ID of the list from which to identify the SMTP account |
string | The email for which to remove the reject status | |
reject_types | string|array | The reject status types to remove. Can be the string ALL (for all status types) or an array containing one or more of: unsub, spam, bounce, hardbounce |
account_id | string|boolean | The id of a specific SMTP ACCOUNT in which to remove the email reject status (optional). |
Parameter | Description |
---|---|
string | string OK |
"OK"
Code | Message | Description |
---|---|---|
407 | Missing required param list_id | list_id param is required |
101 | Not allowed for list_id = %s | Invalid access to list_id |
17003 | Could not find the SMTP account | Transactional account not found |
17004 | The SMTP account is inactive | The transactional account is inactive |
17021 | The email reject status could not be removed: [error_reason] | The email reject status could not be removed |
17020 | Invalid reject type | The reject status is invalid |
{ "err": true, "message": "Missing required param list_id", "code": 407 }
{ "err": true, "message": "Could not find the SMTP account", "code": 17003 }
{ "err": true, "message": "The SMTP account is inactive", "code": 17004 }
{ "err": true, "message": "Invalid reject type", "code": 17020 }
{ "err": true, "message": "The email reject status could not be removed: [error_reason]", "code": 17021 }