GET /asset/v1/content/categories/{id}
Returns one Content Builder category by ID.
Name | Type | Description | |
---|---|---|---|
id | number | Required | The ID of the category. |
Status | Name | Type | Description |
---|---|---|---|
200 | A single category | ||
Id | string | System-assigned ID for the category. | |
Name | string | Name of the category. | |
ParentId | number | ID of the parent category. | |
CategoryType | string | The type of category, either asset or asset-shared. | |
MemberId | number | ID of the member who creates the category. | |
EnterpriseId | number | ID of the enterprise this business unit belongs to. | |
SharingProperties | object | Stores the MIDs of business units this category is shared with and the sharing type. Only included in the response if CategoryType is asset-shared. | |
Meta | object | Meta 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 | ||
Message | string | Insufficient privileges | |
ErrorCode | number | 20002 | |
404 | Not found | ||
Message | string | Object not found | |
ErrorCode | number | 30003 | |
500 | Internal server error | ||
Message | string | No message | |
ErrorCode | number | 10000 |
Example Request
Example Response