visibility

PUT /v1/visibility/targets/{targetId}/prompts

Set the customer's own questions for the AI answer engines.

Све visibility крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X PUT https://api.zinndigital.com/v1/visibility/targets/{targetId}/prompts \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

Replaces the question list wholesale; an empty list goes back to the default questions. Needs the AI Visibility plan. A question naming the customer is refused — it would always mention them and so measures nothing. Taking the organisation past its prompts allowance is refused with 422 naming the allowance, never truncated.

Параметри

НазивТипОбавезноШта је ово
targetId (path)UuidДаThe watched domain's id.

Тело захтева

НазивТипОбавезноШта је ово
promptsstring[]Не—

Одговор

НазивТипОбавезноШта је ово
idUuidДаUUIDv7 identifier — sortable by creation time (docs/02 §8).
domainstringДаThe hostname
labelstringНеThe customer's own label for this domain.
brandstringНе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…
categorystringНе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…
marketstringНеWhere the business sells. Used with category to build the questions.
is_externalbooleanДа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_idstringНеThe site this target corresponds to, when it is one of ours.
kindsVisibilityAuditKind[]Да—
cadence_daysintegerДаDays between scheduled audits. 0 means paused — not deleted. History and settings survive and it resumes with no further action.
next_due_atstringНе—
last_audit_atstringНе—
review_profilesReviewProfile[]Не—
profile_candidatesReviewProfile[]НеWhat the last lookupVisibilityReviewProfiles search found. Candidates only — the reputation check reads review_profiles, and a candidate becomes one when the customer confirms…
profile_lookupobjectНеThe last review-profile search's state. Empty when none was ever run.
productsTrackedProduct[]НеThe products this organisation has asked us to price-track.
merchant_namesstring[]Не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,…
keywordsTrackedKeyword[]Не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…
promptsstring[]Не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_linksWatchedLink[]Не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_phrasesMentionPhraseState[]Не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