I notice that in the web interface there are many classes of bounce, as described here:
I am new to the API and perhaps I am missing something but it appears to me that both subscriber history and subscriber details calls simply return the status "bounced" without any distinction between soft, hard etc.
Am I missing something? Is there another way to get this?
If not CM, please consider this a feature request.
You are able to retrieve more detailed info on bounces for a campaign, including the bounce type and reason: http://www.campaignmonitor.com/api/campaigns/#campaign_bouncelist
James thanks for the speedy follow up.
My feature request stands tho. We'd like the detailed bounce status in subscriber history and in subscriber details.
Here's what we're doing:
We maintain a member database on our site which includes email address. At the moment a member logs in to our site we make a call to the CM API to see if that member's email address is bouncing. If it is bouncing we redirect the member to the page on our site where they can update their email address.
To get the bounce details as you suggest we'd have to switch from doing this API call on an as-needed basis to doing through some sort of nightly batch. This option is not attractive to us.
I've noted that as a request.
You could register a webhook to update your own database when a subscriber bounces, to achieve what you want to.
Supported webhooks are documented at: http://www.campaignmonitor.com/api/webhooks/#currently_available_webhooks
We trigger the subscriber de-activate event "when a hard bounce occurs for a subscriber", as documented.
Many thanks James. Will study up on webhooks.