v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Blogs::Tag

Create Blog Tag

Create a new tag within the given blog.

post/blogs/{blog_id}/tags

Path parameters

blog_idinteger required

Request body

Example request

{
  "blogs_tag": {
    "blogs_tag": {
      "name": "beginner"
    }
  }
}

Response

Created

idinteger

Tag ID

public_idstring

The public identifier of the tag

blog_idinteger

Blog ID that the tag belongs to

namestring

Tag name

created_atstring date-time

Created at

updated_atstring date-time

Updated at

Example response

{
  "id": 1,
  "public_id": "tAbCdE",
  "blog_id": 1,
  "name": "beginner",
  "created_at": "2025-01-01T00:00:00.000Z",
  "updated_at": "2025-01-01T00:00:00.000Z"
}