Create Tag
- Body
- Response
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| title | string | ✅ | Title of the tag |
| color | string | ✅ | Hex color code of the tag |
| description | string | ❌ | Description of the tag |
Example
{
"title": "Frontends",
"color": "#323232",
"description": "Itens from the company frontend"
}
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the created tag |
| title | string | Title of the tag |
| color | string | Hex color code of the tag |
| description | string | Description of the tag |
| user_id | string | ID of the user who created the tag |
Example
{
"code": 201,
"meta": {
"version": "v1.0.0",
"is_authenticaded": true
},
"response": {
"id": "0fIwVvdva",
"title": "Frontends",
"color": "#323232",
"description": "Itens from the company frontend",
"user_id": "HhWKhVIPM7er5KttMNC68hl5o8t1"
}
}
CURL Example
curl -X POST "https://api-integrations.snackprompt.com/v1/tags" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"title":"Frontends","color":"#323232","description":"Itens from the company frontend"}'