Tags
List localized tags. Cursor pagination is the default; page and per_page opt into exact numbered pagination and cannot be combined with after or limit. Omitted locale uses the organization primary/default locale; v1 does not fall back across locales.
Authorization
ApiKeyAuth Organization API key. Each key selects exactly one organization; do not send an organization ID separately. Public keys use the cli_blog_pk_ prefix and are intended for published-content delivery reads. Private keys use the cli_blog_sk_ prefix, belong only in trusted environments, and are required for write, publish, delete, and editorial-state workflows when their scopes allow it.
In: header
Query Parameters
Opaque cursor returned by the previous tag list page.
Maximum tags to return. Defaults to 20. The maximum accepted value is 100.
One-based exact page number. Supplying page selects numbered pagination and cannot be combined with after or limit.
Items per numbered page. Requires page, defaults to 20, and cannot be combined with after or limit.
BCP 47 locale tag to list, for example en-US or es-MX. Categories and tags are shared concepts with localized variants; omitted locale uses organization defaults.
Optional related data to include. Use translations to see available localized variants.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/tags"{ "object": "list", "has_more": true, "next_cursor": "string", "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0, "data": [ { "id": "string", "object": "taxonomy_term", "organization_id": "string", "taxonomy_type": "string", "parent_taxonomy_term_id": "string", "locale": "string", "name": "string", "slug": "string", "description": "string", "seo_title": "string", "seo_description": "string", "canonical_url": "string", "focus_keyphrase": "string", "seo_keywords": [ "string" ], "robots_index": true, "robots_follow": true, "open_graph_title": "string", "open_graph_description": "string", "open_graph_media_asset_id": "string", "twitter_title": "string", "twitter_description": "string", "twitter_media_asset_id": "string", "schema_type": "string", "metadata": null, "created_at": "string", "updated_at": "string", "translations": [ { "id": "string", "locale": "string", "name": "string", "slug": "string" } ] } ]}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}Send a JSON body to create a localized tag. Its stable shared ID can be assigned to posts across locales. Omit locale to use the organization primary/default locale.
Authorization
ApiKeyAuth Organization API key. Each key selects exactly one organization; do not send an organization ID separately. Public keys use the cli_blog_pk_ prefix and are intended for published-content delivery reads. Private keys use the cli_blog_sk_ prefix, belong only in trusted environments, and are required for write, publish, delete, and editorial-state workflows when their scopes allow it.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/tags" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "string", "object": "taxonomy_term", "organization_id": "string", "taxonomy_type": "string", "parent_taxonomy_term_id": "string", "locale": "string", "name": "string", "slug": "string", "description": "string", "seo_title": "string", "seo_description": "string", "canonical_url": "string", "focus_keyphrase": "string", "seo_keywords": [ "string" ], "robots_index": true, "robots_follow": true, "open_graph_title": "string", "open_graph_description": "string", "open_graph_media_asset_id": "string", "twitter_title": "string", "twitter_description": "string", "twitter_media_asset_id": "string", "schema_type": "string", "metadata": null, "created_at": "string", "updated_at": "string", "translations": [ { "id": "string", "locale": "string", "name": "string", "slug": "string" } ]}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}Retrieve a tag by its stable shared ID or locale-scoped slug. Omitted locale uses the organization primary/default locale; v1 does not automatically fall back to another locale.
Authorization
ApiKeyAuth Organization API key. Each key selects exactly one organization; do not send an organization ID separately. Public keys use the cli_blog_pk_ prefix and are intended for published-content delivery reads. Private keys use the cli_blog_sk_ prefix, belong only in trusted environments, and are required for write, publish, delete, and editorial-state workflows when their scopes allow it.
In: header
Path Parameters
Shared tag concept ID or locale-scoped slug.
Query Parameters
BCP 47 locale tag used for tag slug lookup.
Optional related data to include. Use translations to see available localized variants.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/tags/string"{ "id": "string", "object": "taxonomy_term", "organization_id": "string", "taxonomy_type": "string", "parent_taxonomy_term_id": "string", "locale": "string", "name": "string", "slug": "string", "description": "string", "seo_title": "string", "seo_description": "string", "canonical_url": "string", "focus_keyphrase": "string", "seo_keywords": [ "string" ], "robots_index": true, "robots_follow": true, "open_graph_title": "string", "open_graph_description": "string", "open_graph_media_asset_id": "string", "twitter_title": "string", "twitter_description": "string", "twitter_media_asset_id": "string", "schema_type": "string", "metadata": null, "created_at": "string", "updated_at": "string", "translations": [ { "id": "string", "locale": "string", "name": "string", "slug": "string" } ]}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}Send a JSON body to update a localized tag.
Authorization
ApiKeyAuth Organization API key. Each key selects exactly one organization; do not send an organization ID separately. Public keys use the cli_blog_pk_ prefix and are intended for published-content delivery reads. Private keys use the cli_blog_sk_ prefix, belong only in trusted environments, and are required for write, publish, delete, and editorial-state workflows when their scopes allow it.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/tags/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "object": "taxonomy_term", "organization_id": "string", "taxonomy_type": "string", "parent_taxonomy_term_id": "string", "locale": "string", "name": "string", "slug": "string", "description": "string", "seo_title": "string", "seo_description": "string", "canonical_url": "string", "focus_keyphrase": "string", "seo_keywords": [ "string" ], "robots_index": true, "robots_follow": true, "open_graph_title": "string", "open_graph_description": "string", "open_graph_media_asset_id": "string", "twitter_title": "string", "twitter_description": "string", "twitter_media_asset_id": "string", "schema_type": "string", "metadata": null, "created_at": "string", "updated_at": "string", "translations": [ { "id": "string", "locale": "string", "name": "string", "slug": "string" } ]}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}Delete a localized tag.
Authorization
ApiKeyAuth Organization API key. Each key selects exactly one organization; do not send an organization ID separately. Public keys use the cli_blog_pk_ prefix and are intended for published-content delivery reads. Private keys use the cli_blog_sk_ prefix, belong only in trusted environments, and are required for write, publish, delete, and editorial-state workflows when their scopes allow it.
In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/tags/string"{ "deleted": true, "id": "string"}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}{ "error": { "code": "invalid_request", "message": "string", "param": "string" }}