Newsman API Page
Newsman API » Newsman API 1.0 » Email » email.remove_bad_status
Newsman Api Method: email.remove_bad_status
Prototype: email.remove_bad_status($key, $email, $account_id, $keys)
Description: Deletes the bad status data for an email for a specific account or for all accounts if account_id is not specified.
Return: struct (Returns a dict containing the keys: user_id (string), removed (boolean), accounts (array), email (string). Example output: {“user_id”:”myuser”,”removed”:true,”accounts”:[“myaccount_1″,”my_account_2″],”email”:”john.doe@example.com”})
Variable | Type | Description |
---|---|---|
$key | string | API key |
string | ||
$account_id | string | |
$keys | string | can be ALL or combination of bounce, unsub, spam, hardbounce |
Curl Code Example
curl -G https://cluster.newsmanapp.com/api/1.0/email.remove_bad_status \ -d key=89s789mlsdklsd999 \ -d email=example@example.com