You are here: Communications Cloud API v1 > Resources > Topics > Create a Topic

Create a Topic

POST to /api/account/ACCOUNT_CODE/topics.xml

Example Input
<topic>
  <code>####</code>
  <name>ENTER NAME</name>
  <short-name>####</short-name>
  <description nil="true"></description>
  <send-by-email-enabled type="boolean">false</send-by-email-enabled>
  <wireless-enabled type="boolean">false</wireless-enabled>
  <rss-feed-url nil="true"></rss-feed-url>
  <rss-feed-title nil="true"></rss-feed-title>
  <rss-feed-description nil="true"></rss-feed-description>
  <pagewatch-enabled type="boolean">true</pagewatch-enabled>
  <pagewatch-suspended type="boolean">false</pagewatch-suspended>
  <default-pagewatch-results type="integer" nil="true"></default-pagewatch-results>
  <pagewatch-autosend type="boolean">false</pagewatch-autosend>
  <pagewatch-type type="integer">1</pagewatch-type>
  <watch-tagged-content type="boolean">false</watch-tagged-content>
  <pages type="array">
    <page>
      <url>http://####.com</url>
    </page>
  </pages>
  <visibility>Listed</visibility>
</topic>
Elements
Example Output
<?xml version="1.0" encoding="UTF-8"?>
<topic>
  <to-param>TOPIC_CODE</to-param>
  <topic-uri>/api/account/ACCOUNT_CODE/topics/TOPIC_CODE.xml</topic-uri>
</topic>
Troubleshooting

Reference topic error codes

 

Was this page helpful? Can't find what you need? Let us know