The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

GET /asset/v1/content/categories/{id}

Returns one Content Builder category by ID.

NameTypeDescription
idnumberRequiredThe ID of the category.
StatusNameTypeDescription
200  A single category
 IdstringSystem-assigned ID for the category.
 NamestringName of the category.
 ParentIdnumberID of the parent category.
 CategoryTypestringThe type of category, either asset or asset-shared.
 MemberIdnumberID of the member who creates the category.
 EnterpriseIdnumberID of the enterprise this business unit belongs to.
 SharingPropertiesobjectStores the MIDs of business units this category is shared with and the sharing type. Only included in the response if CategoryType is asset-shared.
 MetaobjectMeta is used much like the data attribute on CMS assets but for internal functionality in Content Builder. If meta is returned, be sure to pass it through the API.
    
403  Unauthorized
 MessagestringInsufficient privileges
 ErrorCodenumber20002
    
404  Not found
 MessagestringObject not found
 ErrorCodenumber30003
    
500  Internal server error
 MessagestringNo message
 ErrorCodenumber10000

Example Request

Example Response