Get Subscriber Topic
Name | Description |
---|---|
HTTP Method | GET |
URL | https://api.newsweaver.com/v2/{account code}/subscriber/{subscriber identifier}/topic/{topic name} https://api.newsweaver.com/v2/{account code}/subscriber/{subscriber email}/topic/{topic name} |
Query Parameters | N/A |
Request representation | N/A |
Response representation | Subscriber Topic |
Success Response Code | 200 Ok |
Errors
403 - Forbidden
if API user doesn't haveREAD
access toGLOBAL_SUBSCRIBERS
andTOPICS
404 - Not Found
if subscriber doesn't exist404 - Not Found
if subscriber doesn't have the given topic- Common errors (user/account authentication errors, API usage limit errors)
Example: GET https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/topic/World%20News
<subscriber_topic name="World News" uri="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc/topic/World%20News">
<link
href="https://api.newsweaver.com/v2/example-account/subscriber/1dc0ag2floc"
rel="http://api-info.newsweaver.com/v2/rels/subscriber_topic.subscriber"
title="Subscriber (1dc0ag2floc)"/>
<link
href="https://api.newsweaver.com/v2/example-account/topic/World%20News"
rel="http://api-info.newsweaver.com/v2/rels/subscriber_topic.topic"
title="Topic (World News)"/>
</subscriber_topic>