Skip to content
View as Markdown

POST Bulk Create Tags​

POST
/tags/bulk

Create or update multiple tags in a single request. Tags are matched by slug -- if a tag with the given slug already exists, its title is updated; otherwise a new tag is created. Tags without a title are skipped.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Request Body​

application/json
JSON
{
"tags": [
{
"title": "string",
"slug": "string"
}
],
"items": [
{
"title": "string",
"slug": "string"
}
]
}

Responses​

Tags created or updated successfully.

application/json
JSON
{
"message": "string",
"ids": [
0
]
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI