| Endpoint | Description |
GET /v1/tags | List built-in and workspace tags with usage counts (include_inactive=true shows archived ones) |
POST /v1/tags | Create a workspace tag |
GET /v1/tags/{id} | Get one tag |
PATCH /v1/tags/{id} | Rename, describe, recolor, reorder, or archive |
DELETE /v1/tags/{id} | Delete (?force=true removes it from prospects first) |
POST /v1/tags/reorder | Set display order |
body namestringrequiredbody descriptionstringbody badge_variantstringdefault: secondarydefault, secondary, info, warning, or destructive.body sort_orderintegerbody is_activebooleanPATCH only: false archives the tag without removing it from prospects.1234curl -X POST "https://api.v2.dealmachine.com/v1/tags" \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "name": "Probate", "badge_variant": "info" }'
1234567891011121314{ "data": { "id": "tag_212", "name": "Probate", "description": null, "badge_variant": "info", "is_system": false, "is_active": true, "sort_order": 1000, "usage_count": 0, "created_at": "2026-08-26T16:40:00.000Z", "updated_at": "2026-08-26T16:40:00.000Z" } }