domains
GET /v1/domains/{domainId}/contacts
The registrant contact on public WHOIS for this domain.
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 GET https://api.zinndigital.com/v1/domains/{domainId}/contacts \
-H "Authorization: Bearer zdk_live_…"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
Who the registry believes owns this domain. `contact` is `null` where we hold none — deliberately, because "we have no contact" and "the contact is blank" are different facts and an empty object asserts the second. `editable` says whether this domain's registrar publishes a way to change it. It is `false` on the Cloudflare route, which accepts contacts only when the domain is first registered, so the console renders the panel read-only rather than offering a control that would answer 422.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
domainId (path) | Uuid | Sim | The domain's id. |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
contact | DomainContact | null | Sim | — |
editable | boolean | Sim | Whether this domain's registrar publishes a contact-update path. `false` on the Cloudflare route; the console renders the panel read-only rather than offering a control that ans… |
Erros que este endpoint pode retornar
401 · 403 · 404 · 429