visibility
PUT /v1/visibility/targets/{targetId}/keywords
Set the search phrases to track positions for.
Authentication
Send an API key as a bearer token. The endpoint checks sites.create; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X PUT https://api.zinndigital.com/v1/visibility/targets/{targetId}/keywords \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Replaces the phrase list wholesale. The phrases are customer-supplied and never derived: only the customer knows which searches they want to win, and the ones they already rank for are precisely the set this product has nothing to say about. Each phrase carries its own market. The same phrase in two countries is two different questions with two different answers and two separate costs, so {phrase: "hosting", location: "United Kingdom"} and {phrase: "hosting", location: "Germany"} are two entries rather than one. Sending more phrases than the plan allows is refused with 422 naming the allowance. It is not truncated: silently checking the first twenty-five of two hundred reads as a complete list on the very screen the customer checks, and they would conclude the other one hundred and seventy-five were being watched.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
targetId (path) | Uuid | Yes | The watched domain's id. |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
keywords | TrackedKeyword[] | No | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
funding | string<plan, credits> | No | Who pays for the products the organisation's plan does NOT hold. plan (the default): they are not run. credits: they run pay-per-use from Zinn® credits at the per-unit prices… |
brand_terms | string[] | No | Brand page 1's searches as the customer set them (setVisibilityBrandTerms). Empty means the brand name (or, failing that, the domain) is the one search. |
credit_holds | object | No | Products held for want of Zinn® credit, with the moment each was held. A top-up resumes them on the next sweep, oldest first; nothing is dropped. |
id | Uuid | Yes | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
domain | string | Yes | The hostname |
label | string | No | The customer's own label for this domain. |
brand | string | No | The trading name to look for in an answer engine's reply. Genuinely separate from the domain — an answer that recommends a business by name without printing its URL has still… |
category | string | No | What this business sells, in the customer's own words. The questions asked of the answer engines are built from it, so it is the single field that decides whether an AI-visibility… |
market | string | No | Where the business sells. Used with category to build the questions. |
is_external | boolean | Yes | True when this is not one of this organisation's own domains — a competitor or a prospect. Only external targets count against the plan's allowance. A domain is the organisation's… |
site_id | string | No | The site this target corresponds to, when it is one of ours. |
kinds | VisibilityAuditKind[] | Yes | — |
cadence_days | integer | Yes | Days between scheduled audits. 0 means paused — not deleted. History and settings survive and it resumes with no further action. |
next_due_at | string | No | — |
last_audit_at | string | No | — |
review_profiles | ReviewProfile[] | No | — |
profile_candidates | ReviewProfile[] | No | What the last lookupVisibilityReviewProfiles search found. Candidates only — the reputation check reads review_profiles, and a candidate becomes one when the customer confirms… |
profile_lookup | object | No | The last review-profile search's state. Empty when none was ever run. |
products | TrackedProduct[] | No | The products this organisation has asked us to price-track. |
merchant_names | string[] | No | How this business appears as a seller on the marketplaces. Confirmed by the customer and never inferred: Google Shopping publishes a seller name and no domain on its listings,… |
keywords | TrackedKeyword[] | No | The search phrases this organisation tracks its position for. Customer-supplied and never derived: asking a vendor which phrases a domain already ranks for would return exactly… |
prompts | string[] | No | The customer's own questions for the AI answer engines. Empty means the default questions built from category and market. Bounded by the prompts allowance. |
watched_links | WatchedLink[] | No | The individual links the customer watches pointing at this domain. What each link was found to be is a reading on the latest link_watch audit, not here. Bounded by the links… |
mention_phrases | MentionPhraseState[] | No | The phrases this organisation listens for on this domain (brand mentions), each with its own schedule as the checks actually left it. |
Errors this endpoint can return
401 · 403 · 404 · 422