visibility

PATCH /v1/visibility/targets/{targetId}

Change a watched domain's settings.

Todos os endpoints de visibility

Autenticação

Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.

Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.

Experimente

Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.

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

Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API

Detalhes

Updates the label, brand, category, market, cadence or which products watch this domain. `cadence_days: 0` pauses rather than deletes.

Parâmetros

NomeTipoObrigatórioO que é
targetId (path)UuidSimThe watched domain's id.

Corpo da requisição

NomeTipoObrigatórioO que é
domainstringSim
labelstringNão
brandstringNão
categorystringNão
marketstringNão
kindsVisibilityAuditKind[]Não
cadence_daysintegerNão

Resposta

NomeTipoObrigatórioO que é
idUuidSimUUIDv7 identifier — sortable by creation time (docs/02 §8).
domainstringSimThe hostname
labelstringNãoThe customer's own label for this domain.
brandstringNãoThe 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 me…
categorystringNãoWhat 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-visibili…
marketstringNãoWhere the business sells. Used with `category` to build the questions.
is_externalbooleanSimTrue when this is not a domain hosted with us — a competitor or a prospect. Only external targets count against the plan's allowance.
site_idstringNãoThe site this target corresponds to, when it is one of ours.
kindsVisibilityAuditKind[]Sim
cadence_daysintegerSimDays between scheduled audits. `0` means paused — **not** deleted. History and settings survive and it resumes with no further action.
next_due_atstringNão
last_audit_atstringNão
review_profilesReviewProfile[]Não
productsTrackedProduct[]NãoThe products this organisation has asked us to price-track.
merchant_namesstring[]NãoHow 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 listing…
keywordsTrackedKeyword[]NãoThe 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…

Erros que este endpoint pode retornar

401 · 403 · 404 · 422