Questions? Feedback? powered by Olark live chat software

Newsman API Page

Newsman API » Newsman API 1.0 » Email » email.add_bad_status

Newsman Api Method: email.add_bad_status

Prototype: email.add_bad_status($key, $email, $account_id, $bad_type)

Description: Ads a bad status of type: “bad_type” to the bademail collection

Return: int (Returns the number of emails added)

Variable Type Description
$key string API key
$email string can be one email or multiple emails separated by comma
$account_id string
$bad_type string can be: unsub, spam, bounce, hardbounce

Curl Code Example

curl -G https://cluster.newsmanapp.com/api/1.0/email.add_bad_status \
	-d key=89s789mlsdklsd999 \
	-d email=example@example.com \
	-d account_id=test22011 \
	-d bad_type=bounce