REST API

REST API

Legacy Poppulo platform REST API

Subscriber

Overview

This is a Subscriber in our system. Subscribers are the recipients of emails in our system. Please see our Subscriber Overview for a more detailed description.

Fields

Field nameDescriptionType/Allowed values
statusThe subscriber's statusEnumeration of ACTIVE, INACTIVE, OPT_OUT
emailThe subscriber's email addressEmail
date_createdTimestamp from when subscriber was createdDate
sourceIndicates where the subscriber originated from (e.g. "website", "self-subscriber")Text
mail_formatThe subscriber's preferred way to receive emailEnumeration of TEXT, HTML, blank (i.e. unspecified)
salutationSubscriber's title (e.g. Mr, Ms, etc).Text
first_nameSubscriber's first nameText
middle_nameSubscriber's middle nameText
surnameSubscriber's last nameText
companySubscriber's companyText
position_companySubscriber's job in their companyText
phone_numberSubscriber's phone numberPhone Number
fax_numberSubscriber's fax numberPhone Number
address_1First line of subscriber's addressText
address_2Second line of subscriber's addressText
address_3Third line of subscriber's addressText
cityThe city the subscriber lives inText
postal_codeThe subscriber's post codeText
county_stateThe state or county the subscriber lives inText
countryThe country the subscriber lives inCountry
custom_fieldsA list of custom field values the subscriber hasTag list (custom_field)
custom_fieldA custom field value the subscriber hasDepends on the type of the custom field
personal_details 1A collection of several fields regarding the subscriberPersonal Details

Personal Details 1

Field nameDescriptionType/Allowed values
preferred_nameSubscriber's preferred nameText
genderSubscriber's genderMale/Female
employee_idSubscriber's employee IDText
date_of_birthSubscriber's date of birthDate
employee_start_dateSubscriber's start date at this companyDate

Example

<subscriber date_modified="2012-01-17T10:32:11Z" uri="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc">
    <link
        href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc"
        rel="edit"
        title="Edit: Subscriber (1dc0ag2floc)"/>
    <link
        href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/tags"
        rel="http://api-info.newsweaver.com/v2/rels/subscriber.tags"
        title="Subscriber (1dc0ag2floc) Tags"/>
    <link
        href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/topics"
        rel="http://api-info.newsweaver.com/v2/rels/subscriber.topics"
        title="Subscriber (1dc0ag2floc) Topics"/>
    <link
        href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/sections"
        rel="http://api-info.newsweaver.com/v2/rels/subscriber.sections"
        title="Subscriber (1dc0ag2floc) Sections"/>
    <link
        href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/permissions"
        rel="http://api-info.newsweaver.com/v2/rels/subscriber.permissions"
        title="Subscriber (1dc0ag2floc) Permissions"/>
    <link
        href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/reviewer_groups"
        rel="http://api-info.newsweaver.com/v2/rels/subscriber.reviewer_groups"
        title="Subscriber (1dc0ag2floc) Reviewer Groups"/>
    <city>New York</city>
    <email>joe.bloggs@example.com</email>
    <status>ACTIVE</status>
    <source>Website</source>
    <surname>Bloggs</surname>
    <company>Acme, Inc.</company>
    <country>United States of America</country>
    <address1>123 Fake Street</address1>
    <address2>Fiction Road</address2>
    <address3>Nowhere</address3>
    <fax_number>555 12345 99</fax_number>
    <first_name>Joe</first_name>
    <salutation>Mr</salutation>
    <middle_name>R</middle_name>
    <mail_format>Html</mail_format>
    <postal_code>1234</postal_code>
    <phone_number>555 12345 88</phone_number>
    <county_state>New York</county_state>
    <date_created>2012-01-17T10:32:11Z</date_created>
    <position_company>Developer</position_company>
    <personal_details>
        <preferred_name>Jimmy</preferred_name>
        <gender>Male</gender>
        <employee_id>empl_1234</employee_id>
        <date_of_birth>1992-06-02T00:00:00Z</date_of_birth>
        <employee_start_date>2012-01-17T00:00:00Z</employee_start_date>
    </personal_details>
</subscriber>

See calls:


Footnotes

  1. Personal Details are only present for subscribers in Internal Communications accounts (product names in Notessa "Poppulo Essentials" / "Poppulo Pro"), not in Marketing accounts (Product Names: "Customer Connect", "Customer Connect Lite"). 2