API Docs
Create Tag POST
This endpoint allows you to create a new Tag.
https://t2mio.com/api/v1/tags
Request
Parameter | Type | Position | Constraint | Description |
---|---|---|---|---|
apikey | string |
Header |
Required |
Your 20-30 characters unique api key. |
apisecret | string |
Header |
Required |
Your 12-20 characters unique api secret. |
Content-Type | string |
Header |
Required |
Value: application/json |
name | string |
Body |
Required |
Tag name. Must be unique. Max: 25 characters |
description | string |
Body |
Optional |
Optional tag description (plain text only). Max: 255 characters |
Sample request data
{ "name":"sample-tag", "description":"sample tag description" }
Response
{ "status": 200, "message": "ok", "data": { "id": 110, "name": "sample-tag", "description": "sample tag description", "createdAt": "2022-01-29 13:31:58" } }