You are here: Communications Cloud API v1 > Resources > Categories > List Categories

List all Categories

GET to /api/account/ACCOUNT_CODE/categories.xml

Example Output
<categories type="array">
    <category>
      <allow-subscriptions type="boolean">true</allow-subscriptions>
      <code>CATEGORY_CODE</code>
      <default-open type="boolean">true</default-open>
      <description>empty on purpose</description>
      <name>CATEGORY_NAME</name>
      <short-name>CATEGORY_SHORT_NAME</short-name>
      <qs_page>
        <code>A</code>
      </qs_page>
       <link rel="self" href="/api/account/ACCOUNT_CODE/categories/CATEGORY"/>
    </category>
    <category>
      <allow-subscriptions type="boolean">true</allow-subscriptions>
      <code>CATEGORY2_CODE2</code>
      <default-open type="boolean">true</default-open>
      <description>empty on purpose</description>
      <name>CATEGORY2_NAME2</name>
      <short-name>CATEGORY2_SHORT_NAME2</short-name>
      <qs_page>
        <code>B</code>
      </qs_page>
       <link rel="self" href="/api/account/ACCOUNT_CODE/categories/CATEGORY2"/>
    </category>
Troubleshooting

Reference category error codes

 

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