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

ParameterTypeDescriptionRequiredDefault
namestringTag name (1-100 characters)
criteriastringCriteria or description for when to apply the tag (max 500 characters)""
automaticbooleanWhether the AI should apply the tag automatically to conversationsfalse
ownersarrayList of responsible-user emails[]

Response

{
  "status": "success",
  "message": "Tag created successfully",
  "data": {
    "id": "tag_abc123"
  }
}

Notes

  • owners must be sent as valid emails of users belonging to the workspace
  • If automatic is true, the AI applies the tag automatically to conversations based on the defined criteria