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.
Tag name
Tenant id (uuid v4)
Unique identifier of the material tag
b86fa12a-76fc-46f5-8a3e-bf39e7be4c4eName of the material tag
High PriorityColor code for the tag (hex format)
#FF5733Timestamp when the tag was created
2025-01-23T17:01:31.692ZTimestamp when the tag was last updated
2025-01-24T10:30:45.123ZReturned when the rate limit is exceeded
GET /api/v1/public/material-tags HTTP/1.1
Host: api-stage.hesh.tech
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"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.
Tenant id (uuid v4)
Name of the material tag
High PriorityColor code for the tag (hex format)
#FF5733Unique identifier of the material tag
b86fa12a-76fc-46f5-8a3e-bf39e7be4c4eName of the material tag
High PriorityColor code for the tag (hex format)
#FF5733Timestamp when the tag was created
2025-01-23T17:01:31.692ZTimestamp when the tag was last updated
2025-01-24T10:30:45.123ZReturned when the rate limit is exceeded
POST /api/v1/public/material-tags HTTP/1.1
Host: api-stage.hesh.tech
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"name": "High Priority",
"color": "#FF5733"
}{
"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.
Tag ID
Tenant id (uuid v4)
Message returned from API confirming the operation
The operation was done successfullyReturned when the rate limit is exceeded
DELETE /api/v1/public/material-tags/{tag_id} HTTP/1.1
Host: api-stage.hesh.tech
x-api-key: YOUR_API_KEY
Accept: */*
{
"message": "The operation was done successfully"
}The API gives the ability to update an existing material tag.
Tag ID
Tenant id (uuid v4)
Name of the material tag
Medium PriorityColor code for the tag (hex format)
#33A1FFMessage returned from API confirming the operation
The operation was done successfullyReturned when the rate limit is exceeded
PATCH /api/v1/public/material-tags/{tag_id} HTTP/1.1
Host: api-stage.hesh.tech
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"name": "Medium Priority",
"color": "#33A1FF"
}{
"message": "The operation was done successfully"
}Last updated

