Get Account

Name Description
HTTP Method GET
URL https://api.newsweaver.com/v2/{account code}
Query Parameters No
Request representation N/A
Response representation Account
Success Response Code 200 Ok if account code is accurate
301 Moved Permanently if account code is out of date

Errors

  • 403 - Forbidden if API user doesn't have READ access to ACCOUNTS
  • 403 - Forbidden if API user doesn't have access to this account
  • Common errors (user/account authentication errors, API usage limit errors)

Example: GET https://api.newsweaver.com/v2/example-account

<account code="example-account" uri="https://api.newsweaver.com/v2/example-account">
    <link href="https://api.newsweaver.com/v2/example-account/tags" rel="http://api-info.newsweaver.com/v2/rels/account.tag" title="Tags"/>
    <link href="https://api.newsweaver.com/v2/example-account/topics" rel="http://api-info.newsweaver.com/v2/rels/account.topic" title="Topics"/>
    <link href="https://api.newsweaver.com/v2/example-account/mailings" rel="http://api-info.newsweaver.com/v2/rels/account.mailing" title="Mailings"/>
    <link href="https://api.newsweaver.com/v2/example-account/permissions" rel="http://api-info.newsweaver.com/v2/rels/account.permission" title="Permissions"/>
    <link href="https://api.newsweaver.com/v2/example-account/subscribers" rel="http://api-info.newsweaver.com/v2/rels/account.subscriber" title="Subscribers"/>
    <link href="https://api.newsweaver.com/v2/example-account/publications" rel="http://api-info.newsweaver.com/v2/rels/account.publication" title="Publications"/>
    <link href="https://api.newsweaver.com/v2/example-account/activity_sync" rel="http://api-info.newsweaver.com/v2/rels/account.activity_sync" title="Activity Sync"/>
    <link href="https://api.newsweaver.com/v2/example-account/reviewer_groups" rel="http://api-info.newsweaver.com/v2/rels/account.reviewer_group" title="Reviewer_groups"/>
    <link href="https://api.newsweaver.com/v2/example-account/subscriber_imports" rel="http://api-info.newsweaver.com/v2/rels/account.subscriber_import" title="Subscriber_imports"/>
    <name>Example Account</name>
</account>

results matching ""

    No results matching ""