Endpoints
Tags
The workspace tag list that contact tags come from.
Les chemins sont relatifs à l’URL de base. Chaque carte indique la permission requise par l’appel et chaque paramètre, avec son type et ses limites.
GET
/tagsList workspace tags.
Permission : contacts
POST
/tagsCreate a workspace tag.
Permission : contacts
Corps JSON
- nameobligatoirestring
1–80 characters. Must be unique (case-insensitive), else 409.
- colorfacultatifenum | null
Tag color.
Valeurs autorisées :
chart-1chart-2chart-3chart-4chart-5chart-6chart-7chart-8
PATCH
/tags/:idRename or recolor a tag. A rename updates every contact that has it. Send name, color, or both.
Permission : contacts
Paramètres de chemin
- idobligatoireinteger
Tag ID.
Corps JSON
- namefacultatifstring
1–80 characters.
- colorfacultatifenum | null
Tag color.
Valeurs autorisées :
chart-1chart-2chart-3chart-4chart-5chart-6chart-7chart-8
DELETE
/tags/:idDelete a tag and remove it from every contact. The response includes contacts_updated.
Permission : contacts
Paramètres de chemin
- idobligatoireinteger
Tag ID.