Add a tag or collection to a content item

Associates an existing tag or collection with a content item. Can also create a new tag/collection if CREATE_NEW is true. The TYPE parameter determines whether a tag or collection is being added. The endpoint varies by API type (admin vs portal).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The type of metadata: "tag" or "collection"

string
required

The ID of the content item

contentDefinition
object
required

The content definition object with id and description

string
required

The name of the tag or collection

string
required

The ID of an existing tag or collection (null if creating new)

boolean
required

Whether to create a new tag/collection if it doesn't exist

Responses
200

Success

400

Bad Request

401

The caller is not authenticated

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!