curl -X GET "https://sac-waffle-v2.theo-110.workers.dev/support/tags" \
-H "Authorization: Bearer seu_token_jwt"
{
"success": true,
"data": [
{
"id": 1,
"name": "Aguardando Cliente",
"color": "#FFA500",
"isDefault": false,
"createdAt": "2024-03-20T10:00:00Z",
"updatedAt": "2024-03-20T10:00:00Z"
},
{
"id": 2,
"name": "Novo",
"color": "#00FF00",
"isDefault": true,
"createdAt": "2024-03-20T10:01:00Z",
"updatedAt": "2024-03-20T10:01:00Z"
},
{
"id": 3,
"name": "Urgente",
"color": "#FF0000",
"isDefault": false,
"createdAt": "2024-03-20T10:02:00Z",
"updatedAt": "2024-03-20T10:02:00Z"
}
]
}
Retorna todas as tags de suporte disponíveis
curl -X GET "https://sac-waffle-v2.theo-110.workers.dev/support/tags" \
-H "Authorization: Bearer seu_token_jwt"
{
"success": true,
"data": [
{
"id": 1,
"name": "Aguardando Cliente",
"color": "#FFA500",
"isDefault": false,
"createdAt": "2024-03-20T10:00:00Z",
"updatedAt": "2024-03-20T10:00:00Z"
},
{
"id": 2,
"name": "Novo",
"color": "#00FF00",
"isDefault": true,
"createdAt": "2024-03-20T10:01:00Z",
"updatedAt": "2024-03-20T10:01:00Z"
},
{
"id": 3,
"name": "Urgente",
"color": "#FF0000",
"isDefault": false,
"createdAt": "2024-03-20T10:02:00Z",
"updatedAt": "2024-03-20T10:02:00Z"
}
]
}
curl -X GET "https://sac-waffle-v2.theo-110.workers.dev/support/tags" \
-H "Authorization: Bearer seu_token_jwt"
{
"success": true,
"data": [
{
"id": 1,
"name": "Aguardando Cliente",
"color": "#FFA500",
"isDefault": false,
"createdAt": "2024-03-20T10:00:00Z",
"updatedAt": "2024-03-20T10:00:00Z"
},
{
"id": 2,
"name": "Novo",
"color": "#00FF00",
"isDefault": true,
"createdAt": "2024-03-20T10:01:00Z",
"updatedAt": "2024-03-20T10:01:00Z"
},
{
"id": 3,
"name": "Urgente",
"color": "#FF0000",
"isDefault": false,
"createdAt": "2024-03-20T10:02:00Z",
"updatedAt": "2024-03-20T10:02:00Z"
}
]
}