List Subscriber Sections
Please note that subscriber/sections associations are deprecated, and have been replaced by Topics.
Name | Description |
---|---|
HTTP Method | GET |
URL | https://api.newsweaver.com/v2/{account code}/subscriber/{subscriber identifier}/sections https://api.newsweaver.com/v2/{account code}/subscriber/{subscriber email}/sections |
Query Parameters | N/A |
Request representation | N/A |
Response representation | Subscriber Section List |
Success Response Code | 200 Ok |
Errors
403 - Forbidden
if API user doesn't haveREAD
access toGLOBAL_SUBSCRIBERS
andSECTIONS
404 - Not Found
if subscriber doesn't exist- Common errors (user/account authentication errors, API usage limit errors)
Example: GET https://api.newsweaver.com/v2/sample-account/subscriber/joe.bloggs@example.com/sections
<subscriber_sections total="2" uri="https://api.newsweaver.com/v2/example-account/subscriber/joe.bloggs@example.com/sections">
<itemsPerPage>1000</itemsPerPage>
<startIndex>0</startIndex>
<totalResults>2</totalResults>
<subscriber_section name="Profile Section" uri="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/section/170144">
<link
href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc"
rel="http://api-info.newsweaver.com/v2/rels/subscriber_section.subscriber"
title="Subscriber (1dc0ag2floc)"/>
<link
href="https://api.newsweaver.com/v2/example-account/section/170144"
rel="http://api-info.newsweaver.com/v2/rels/subscriber_section.section"
title="Section (170144)"/>
</subscriber_section>
<subscriber_section name="Display & Profile Section" uri="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/section/170154">
<link
href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc"
rel="http://api-info.newsweaver.com/v2/rels/subscriber_section.subscriber"
title="Subscriber (1dc0ag2floc)"/>
<link
href="https://api.newsweaver.com/v2/example-account/section/170154"
rel="http://api-info.newsweaver.com/v2/rels/subscriber_section.section"
title="Section (170154)"/>
</subscriber_section>
</subscriber_sections>