Update Tag

Update an existing tag. Only the fields provided in the request are modified.

PATCH https://api.platica.mx/v1/tags/{tagId}

URL parameters

ParameterTypeDescriptionRequired
tagIdstringUnique identifier of the tag

Request body

{
  "criteria": "Aplica esta etiqueta a clientes con membresía premium activa.",
  "automatic": true,
  "owners": ["soporte@miempresa.com"]
}

Body parameters

All parameters are optional. Only the fields included in the request are updated.

ParameterTypeDescription
criteriastringCriteria or description for when to apply the tag (max 500 characters)
automaticbooleanWhether the AI should apply the tag automatically to conversations
ownersarrayList of responsible-user emails

Response

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

Notes

  • owners must be sent as valid emails of users in the workspace