Dynamic Tags
Saved Smart Filter definitions used by Profile → Tags.
/v1/dynamic-tags manages saved filter definitions. Static assignments to individual entities continue to use /v1/tags. Reads require tags:read; writes require tags:write. Live keys are required.List Dynamic Tags
/v1/dynamic-tags0 credits| Parameter | Type | Description |
|---|---|---|
page | integer | Zero-indexed page. |
page_size | integer | Number of definitions to return. |
search | string | Case-insensitive name search. |
include_counts | boolean | Default true. false omits member_count and runs no count — use it when only names are needed. |
Paging and search run first, so member_count is computed only for the definitions on the returned page; page_size=1 counts one tag. A count may be reused for up to 5 minutes. It is keyed by the saved filter, so editing a definition starts a fresh count and identical filters share one; a filter that uses tags, CRM status or outbound status is also recounted after your own tag changes. A count that does not finish in time returns member_count: null with member_count_error.code COUNT_TIMEOUT while the rest of the page is returned, and lists skip that count for up to 5 minutes; GET /v1/dynamic-tags/{id} computes it without that limit and caches it for the next list.
curl -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/dynamic-tags?search=renewal"Create Dynamic Tag
/v1/dynamic-tags0 credits| Parameter | Type | Description |
|---|---|---|
namerequired | string | Display name. |
entity_typerequired | string | company, broker, or personnel. |
filter_defrequired | object | Smart Filter definition whose query filters match entity_type. |
color_index | integer | Optional UI color index. |
{
"name": "California healthcare",
"entity_type": "company",
"filter_def": {
"entity_type": "company",
"query": {
"filters": {
"states": ["CA"],
"industries": ["Healthcare"]
}
}
},
"color_index": 3
}Read, Update, or Delete
/v1/dynamic-tags/{id}0 credits/v1/dynamic-tags/{id}0 credits/v1/dynamic-tags/{id}0 creditsGET returns one owned definition. PATCH accepts a non-empty subset of name, entity_type, filter_def, and color_index and refreshes the platform definition cache. DELETE removes only the dynamic definition; unrelated static tag assignments are preserved.
Renaming a dynamic tag that another dynamic tag references in its filters.tags returns 409 CONFLICT with one {"field": "name", "issue": "referenced_by_dynamic_tag", "tag", "id"} item per referencing tag; remove the reference first, then rename. A saved filter that references a tag that does not exist returns 400 VALIDATION_ERROR (field: filters.tags, issue: unknown_tag), and a saved filter with invalid settings returns 400 whose details[].field names the setting. A personnel dynamic tag saved with one lead_type and requested with the other returns 400 VALIDATION_ERROR (field: lead_type, issue: mismatched_value, with expected and received). filters.search can be saved, and its member count matches the same direct search= query.
Keys are issued by our team, not a signup form. Book a 25-minute walkthrough and you'll leave with sandbox and live credentials.