Skip to main content

Tags

Manage tags for organizing content. Requires GHOST_ADMIN_API_KEY.

Tools

ToolDescription
admin_browse_tagsList tags with filtering and pagination
admin_read_tagGet a single tag by ID or slug
admin_create_tagCreate a new tag
admin_update_tagUpdate an existing tag
admin_delete_tagDelete a tag

admin_browse_tags

List tags with filtering and pagination.

{
"include": "count.posts",
"limit": "all"
}

admin_read_tag

Get a single tag by ID or slug.

{
"slug": "javascript"
}

admin_create_tag

Create a new tag.

Basic tag

{
"name": "Technology"
}

Tag with metadata

{
"name": "JavaScript",
"slug": "javascript",
"description": "Posts about JavaScript programming",
"accent_color": "#f7df1e",
"meta_title": "JavaScript Articles | My Blog",
"meta_description": "Learn JavaScript with our tutorials and guides"
}

Internal tag

Internal tags (prefixed with #) are not visible on the frontend.

{
"name": "#internal-review",
"visibility": "internal"
}

Key parameters

ParameterTypeDescription
namestringTag name (prefix with # for internal tags)
slugstringURL slug
descriptionstringTag description
visibilitystringpublic or internal
accent_colorstringHex color code
feature_imagestringFeature image URL
meta_titlestringSEO title
meta_descriptionstringSEO description

admin_update_tag

Update an existing tag. Requires id.

{
"id": "5ddc9141c35e7700383b2937",
"name": "Updated Tag Name",
"accent_color": "#ff0000"
}

admin_delete_tag

Delete a tag by its ID.

{
"id": "5ddc9141c35e7700383b2937"
}