Material tags
The API gives the ability to get all material tags. It is possible to filter tags by name using the 'name' query parameter.
Authorizations
Query parameters
namestringOptional
Tag name
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Responses
200Success
application/json
get
/api/public/material-tagsGET /api/public/material-tags HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Accept: */*
200Success
[
{
"id": "b86fa12a-76fc-46f5-8a3e-bf39e7be4c4e",
"name": "High Priority",
"color": "#FF5733",
"created_at": "2025-01-23T17:01:31.692Z",
"updated_at": "2025-01-24T10:30:45.123Z"
}
]The API gives the ability to create a new material tag.
Authorizations
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Body
namestringRequiredExample:
Name of the material tag
High PrioritycolorstringRequiredExample:
Color code for the tag (hex format)
#FF5733Responses
201Success
application/json
post
/api/public/material-tagsPOST /api/public/material-tags HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"name": "High Priority",
"color": "#FF5733"
}201Success
{
"id": "b86fa12a-76fc-46f5-8a3e-bf39e7be4c4e",
"name": "High Priority",
"color": "#FF5733",
"created_at": "2025-01-23T17:01:31.692Z",
"updated_at": "2025-01-24T10:30:45.123Z"
}The API gives the ability to delete an existing material tag.
Authorizations
Path parameters
tag_idstringRequired
Tag ID
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Responses
200Success
application/json
delete
/api/public/material-tags/{tag_id}DELETE /api/public/material-tags/{tag_id} HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Accept: */*
200Success
{
"message": "The operation was done successfully"
}The API gives the ability to update an existing material tag.
Authorizations
Path parameters
tag_idstringRequired
Tag ID
Header parameters
x-tenant-idstring · uuidOptional
Tenant id (uuid v4)
Body
namestringOptionalExample:
Name of the material tag
Medium PrioritycolorstringOptionalExample:
Color code for the tag (hex format)
#33A1FFResponses
200Success
application/json
patch
/api/public/material-tags/{tag_id}PATCH /api/public/material-tags/{tag_id} HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"name": "Medium Priority",
"color": "#33A1FF"
}200Success
{
"message": "The operation was done successfully"
}Last updated