Endpoint
Tags
The workspace tag list that contact tags come from.
I percorsi sono relativi all'URL di base. Ogni scheda indica il permesso richiesto dalla chiamata e ogni parametro, con tipo e limiti.
GET
/tagsList workspace tags.
Permesso: contacts
POST
/tagsCreate a workspace tag.
Permesso: contacts
Corpo JSON
- nameobbligatoriostring
1–80 characters. Must be unique (case-insensitive), else 409.
- coloropzionaleenum | null
Tag color.
Valori consentiti:
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.
Permesso: contacts
Parametri del percorso
- idobbligatoriointeger
Tag ID.
Corpo JSON
- nameopzionalestring
1–80 characters.
- coloropzionaleenum | null
Tag color.
Valori consentiti:
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.
Permesso: contacts
Parametri del percorso
- idobbligatoriointeger
Tag ID.