REST API

REST API

Legacy Poppulo platform REST API

Get Subscriber Import Invalid Subscribers

Overview

This is one of the few non-XML based responses in the system. The format is three CSV files, including headers, appended together, with an identifying line. The headers and columns reflect those of the input records.

The contents of each file are:

  • The "invalid" records - these failed validation
  • The "duplicate" records - the email addresses in these records had already been processed earlier in the import
  • The "opted-out" records - the subscribers with the email addresses have indicated they wanted to "opt out" from receiving these emails
NameDescription
HTTP MethodGET
URLhttps://api.newsweaver.com/v2/{account code}/subscriber_import/{subscriber import id}/invalid_subscribers
Query ParametersN/A
Request representationN/A
Response representationCSV
Success Response Code200 Ok

Errors

  • 403 - Forbidden if API user doesn't have READ access to GLOBAL_SUBSCRIBERS
  • 404 - Not Found if the specified subscriber import doesn't exist
  • Common errors (user/account authentication errors, API usage limit errors)

Example: https://api.newsweaver.com/v2/example-account/subscriber_import/1166694/invalid_subscribers

"Invalid Subscribers"
"Email Address","First Name","Last Name"
"invalid_AT_example.com","Invalid","Subscriber"
"Duplicate Subscribers"
"Email Address","First Name","Last Name"
"duplicate@example.com","Duplicate","Subscriber"
"Opted-out Subscribers"
"Email Address","First Name","Last Name"
"opted-out@example.com","Opted-Out","Subscriber"