List Topic Subscriptions
GET to /api/account/ACCOUNT_CODE/subscribers/ENCODED_SUBSCRIBER_ID/topics.xml
- Your ACCOUNT_CODE can be found via the administrative interface.
- The ENCODED_SUBSCRIBER_ID is the following information run through Base64 conversion:
- For email subscribers: email address.
- For wireless subscribers: a string consisting of country code, a plus (+) sign, and the (digit-only) phone number. Example: 1+5555555555
- The appropriately encoded ID will be returned in the <to-param> element of the output from the Create Subscriber method.
Example Output
<?xml version='1.0' encoding='UTF-8'?>
<topics type='array'>
<topic>
<to-param>LONDON</to-param>
<link rel="self" href="/api/account/ACCOUNT_CODE/topics/LONDON" />
</topic>
<topic>
<to-param>WASP</to-param>
<link rel="self" href="/api/account/ACCOUNT_CODE/topics/WASP" />
</topic>
</topics>
Troubleshooting
Reference subscriber error codes
Was this page helpful? Can't find what you need? Let us know
Open topic with navigation