Create Tag Endpoint

Structure

Tag

Name
Type
Description
Required
id int The id for the tag No
name string The name of the tag Yes
slug string The slug of the tag, if not present it is auto-generated from name Conditional
reference string The reference of the tag No
image object The Image of the tag No
has_slug boolean Whether the tag has a slug or not (defaults to false unless slug is provided) No

Image

Name
Type
Description
Required
src string The source url of the image Yes

Example Request

POST /api/tag-groups/{id|name}/tags
{
    "name": "Medium",
    "slug": "med-ium"
}

Example Response

{
    "tag": {
        "id": 1
    }
}


Revision #3
Created 2026-10-01 11:28:33 UTC by Ethan Payne
Updated 2026-10-02 13:20:48 UTC by Ethan Payne