visibility
PUT /v1/visibility/targets/{targetId}/keywords
Set the search phrases to track positions for.
Аутентификација
Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X PUT https://api.zinndigital.com/v1/visibility/targets/{targetId}/keywords \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
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.
Параметри
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
targetId (path) | Uuid | Да | The watched domain's id. |
Тело захтева
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
keywords | TrackedKeyword[] | Не | — |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
id | Uuid | Да | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
domain | string | Да | The hostname |
label | string | Не | The customer's own label for this domain. |
brand | string | Не | 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 | Не | 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 | Не | Where the business sells. Used with category to build the questions. |
is_external | boolean | Да | 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 | Не | The site this target corresponds to, when it is one of ours. |
kinds | VisibilityAuditKind[] | Да | — |
cadence_days | integer | Да | Days between scheduled audits. 0 means paused — not deleted. History and settings survive and it resumes with no further action. |
next_due_at | string | Не | — |
last_audit_at | string | Не | — |
review_profiles | ReviewProfile[] | Не | — |
profile_candidates | ReviewProfile[] | Не | 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 | Не | The last review-profile search's state. Empty when none was ever run. |
products | TrackedProduct[] | Не | The products this organisation has asked us to price-track. |
merchant_names | string[] | Не | 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[] | Не | 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[] | Не | 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[] | Не | 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[] | Не | The phrases this organisation listens for on this domain (brand mentions), each with its own schedule as the checks actually left it. |
Грешке које ова крајња тачка може вратити
401 · 403 · 404 · 422