Skip to main content
Work with content in the context of a tag, for example by assigning content to it. The tag must already exist. You can create a tag first. Before you start, read the API overview for how authentication, headers, pagination and errors work.

Assign content to a tag

Assign a list of content items to an existing tag. You can identify the content by URL, by slug, or both.
string
The name of the tag’s parent tag.
string
required
The name of the tag to assign the content to.
string[]
The URLs of the content to assign to the tag.
string[]
The slugs of the content to assign to the tag.
Assign content to a tag
PUT https://your-community.zapnito.com/api/v1/tags/contents
  • 200 OK: the content was assigned to the tag.
  • 404 Not Found: no content matches the URLs or slugs you provided.