Hillwinds API
API Reference

Dynamic Tags

Saved Smart Filter definitions used by Profile → Tags.

Dynamic tags are definitions
/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

GET/v1/dynamic-tags0 credits
ParameterTypeDescription
pageintegerZero-indexed page.
page_sizeintegerNumber of definitions to return.
searchstringCase-insensitive name search.
include_countsbooleanDefault 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.

bash
curl -H "Authorization: Bearer ss_live_..." \
  "https://api.hillwinds.ai/v1/dynamic-tags?search=renewal"

Create Dynamic Tag

POST/v1/dynamic-tags0 credits
ParameterTypeDescription
namerequiredstringDisplay name.
entity_typerequiredstringcompany, broker, or personnel.
filter_defrequiredobjectSmart Filter definition whose query filters match entity_type.
color_indexintegerOptional UI color index.
json
{
  "name": "California healthcare",
  "entity_type": "company",
  "filter_def": {
    "entity_type": "company",
    "query": {
      "filters": {
        "states": ["CA"],
        "industries": ["Healthcare"]
      }
    }
  },
  "color_index": 3
}

Read, Update, or Delete

GET/v1/dynamic-tags/{id}0 credits
PATCH/v1/dynamic-tags/{id}0 credits
DELETE/v1/dynamic-tags/{id}0 credits

GET 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.

Need a key?

Keys are issued by our team, not a signup form. Book a 25-minute walkthrough and you'll leave with sandbox and live credentials.