Create Tag
Create a new tag in your workspace.
POST https://api.platica.mx/v1/tags Request body
{
"name": "VIP",
"criteria": "Aplica esta etiqueta a clientes con alto volumen de compras.",
"automatic": true,
"owners": ["soporte@miempresa.com"]
} Body parameters
| Parameter | Type | Description | Required | Default |
|---|---|---|---|---|
name | string | Tag name (1-100 characters) | ✓ | — |
criteria | string | Criteria or description for when to apply the tag (max 500 characters) | — | "" |
automatic | boolean | Whether the AI should apply the tag automatically to conversations | — | false |
owners | array | List of responsible-user emails | — | [] |
Response
{
"status": "success",
"message": "Tag created successfully",
"data": {
"id": "tag_abc123"
}
} Notes
ownersmust be sent as valid emails of users belonging to the workspace- If
automaticistrue, the AI applies the tag automatically to conversations based on the definedcriteria